gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 04/09: util: futurize contrib/scripts/pydiffer


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 04/09: util: futurize contrib/scripts/pydiffer
Date: Tue, 12 Feb 2019 12:10:28 +0100

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

ng0 pushed a commit to branch master
in repository gnunet.

commit 5a0c847dd340e0f51deae59eb01980e852cd0438
Author: ng0 <address@hidden>
AuthorDate: Tue Feb 12 11:04:47 2019 +0000

    util: futurize contrib/scripts/pydiffer
    
    Signed-off-by: ng0 <address@hidden>
---
 contrib/scripts/pydiffer.py.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/scripts/pydiffer.py.in b/contrib/scripts/pydiffer.py.in
index 10145371c..1dbe856db 100644
--- a/contrib/scripts/pydiffer.py.in
+++ b/contrib/scripts/pydiffer.py.in
@@ -1,4 +1,5 @@
 address@hidden@
+from __future__ import print_function
 import os
 import sys
 import difflib
@@ -23,7 +24,7 @@ def dc_getdiff(dc, old, new):
     for f in dc.diff_files:
         r = getdiff(os.path.join(old, f), os.path.join(new, f))
         diff.extend(r)
-    for dn, dc in dc.subdirs.items():
+    for dn, dc in list(dc.subdirs.items()):
         r = dc_getdiff(dc, os.path.join(old, dn), os.path.join(new, dn))
         diff.extend(r)
     return diff

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



reply via email to

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