gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [ascension] 01/09: fixed a double implemented issue


From: gnunet
Subject: [GNUnet-SVN] [ascension] 01/09: fixed a double implemented issue
Date: Fri, 10 May 2019 15:24:21 +0200

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

rexxnor pushed a commit to branch master
in repository ascension.

commit b197dfaaaeb06441c5b100834103e25d4732d746
Author: rexxnor <address@hidden>
AuthorDate: Thu May 9 22:25:42 2019 +0200

    fixed a double implemented issue
---
 ascension/ascension.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/ascension/ascension.py b/ascension/ascension.py
index 790306a..2acd6b4 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -292,8 +292,9 @@ class Ascender():
             values = nsrecord[1]
             ttl = values.ttl
 
-            gnspkeys = list(filter(lambda record: 
str(record).startswith('gns--pkey--')
-                                   and illegalchars not in str(record)[11:], 
values))
+            gnspkeys = list(filter(lambda record:
+                                   str(record).startswith('gns--pkey--'),
+                                   values))
 
             num_gnspkeys = len(gnspkeys)
             if not num_gnspkeys:
@@ -308,7 +309,10 @@ class Ascender():
             # FIXME: drop all NS records under this name later!
             # => new map, if entry present during NS processing, skip!
             if not any(illegal in gnspkey for illegal in illegalchars):
-                self.add_pkey_record_to_zone(gnspkey[11:], self.domain, name, 
ttl)
+                self.add_pkey_record_to_zone(gnspkey[11:],
+                                             self.domain,
+                                             name,
+                                             ttl)
 
         # Unify all records under same label into a record set
         customrdataset = dict()

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



reply via email to

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