[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
- [GNUnet-SVN] [ascension] 02/57: Added LICENSE, (continued)
- [GNUnet-SVN] [ascension] 02/57: Added LICENSE, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 18/57: refactored adding of records, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 08/57: added GNS2DNS support and rudimentary Unittests (incomplete), gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 23/57: fixed non existing file, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 42/57: added dnscurve detection and log it, fix ttl bug with hierarchy, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 07/57: fixes, added a few tests, updated README and requirements, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 10/57: added incremental zone transfer logic, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 54/57: lint manpage, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 39/57: added daemonization, bumped version, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 57/57: ascension.1: remove texinfo syntax, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 49/57: minor cleanup,
gnunet <=
- [GNUnet-SVN] [ascension] 51/57: removed daemonization, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 26/57: added definitive support for IXFR, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 37/57: updated README, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 22/57: finished refactoring, fixed a few bugs, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 30/57: updated gnsmigrator and removed c rebuilds, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 44/57: updated README, cleanup, PEP8, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 32/57: testing and added logging of executed commands to debug, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 28/57: refactored code, added debug mode, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 35/57: unify all records under label, added SUPPORTED_RECORDS global, gnunet, 2019/04/13
- [GNUnet-SVN] [ascension] 40/57: improvements, better case separation, more logging, gnunet, 2019/04/13