gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [ascension] branch master updated: fixed a bug with subzone


From: gnunet
Subject: [GNUnet-SVN] [ascension] branch master updated: fixed a bug with subzone sorting
Date: Tue, 30 Apr 2019 15:38:23 +0200

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

rexxnor pushed a commit to branch master
in repository ascension.

The following commit(s) were added to refs/heads/master by this push:
     new 7a77db7  fixed a bug with subzone sorting
7a77db7 is described below

commit 7a77db71c539cabe96c602179058a404ad70677f
Author: rexxnor <address@hidden>
AuthorDate: Tue Apr 30 15:37:51 2019 +0200

    fixed a bug with subzone sorting
---
 ascension/ascension.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ascension/ascension.py b/ascension/ascension.py
index ba73e38..180b6ce 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -682,7 +682,7 @@ class Ascender():
         domain = cls.domain
 
         zonelist = cls.subzonedict.items()
-        sortedlist = sorted(zonelist, key=lambda s: len(str(s).split('.')[0]))
+        sortedlist = sorted(zonelist, key=lambda s: len(str(s).split('.')))
         for zone, pkeyttltuple in sortedlist:
             pkey, ttl = pkeyttltuple
             if not pkey:

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



reply via email to

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