From 8908c7d69b6b7e0198ba6b8b325014c7dc52a044 Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Fri, 19 Aug 2016 23:07:36 +0000 Subject: [PATCH] Cosmetics. --- app/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models.py b/app/models.py index ad9464f..2ad6112 100644 --- a/app/models.py +++ b/app/models.py @@ -749,8 +749,7 @@ class Record(object): if PRETTY_IPV6_PTR: # only if activated if rrset['type'] == 'PTR': # only ptr if 'ip6.arpa' in r_name: # only if v6-ptr - v6_addr = dns.reversename.to_address(dns.name.from_text(r_name)) - r_name = v6_addr + r_name = dns.reversename.to_address(dns.name.from_text(r_name)) rrset['name'] = r_name rrset['content'] = rrset['records'][0]['content']