gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [ascension] 49/57: minor cleanup


From: gnunet
Subject: [GNUnet-SVN] [ascension] 49/57: minor cleanup
Date: Sat, 13 Apr 2019 13:32:46 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository ascension.

commit 459db264484305373d14918291ad3c3027d4148e
Author: rexxnor <address@hidden>
AuthorDate: Wed Jan 30 14:03:20 2019 +0100

    minor cleanup
---
 ascension/ascension.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/ascension/ascension.py b/ascension/ascension.py
index 4008d28..98efb17 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -210,9 +210,8 @@ class Ascender():
                 # execute thing to run on item
                 label, listofrdatasets = labelrecords
 
-                subzones = label.split('.')
-
                 # TODO Add the not-in-bailiwick case
+                # subzones = label.split('.')
                 # elif len(subzones) > 1:
                 #     ttl = cls.soa[1]
                 #     cls.create_zone_hierarchy(subzones, ttl)
@@ -248,7 +247,7 @@ class Ascender():
                         if value is None:
                             continue
 
-                        if type(value) is list:
+                        if isinstance(value, list):
                             for element in value:
                                 # build recordline
                                 recordline.append("-R")
@@ -370,8 +369,8 @@ class Ascender():
             if nameserver[0:2] == 'uz5':
                 logging.info("zone has a dnscurve record")
                 # TODO extract public key from NS record (dnscurve)
-                #encoded_pkey = nameserver[2:].split('.')[0]
-                #pkey =
+                # encoded_pkey = nameserver[2:].split('.')[0]
+                # pkey =
             if value[-1] == ".":
                 value = value[:-1]
             else:

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]