[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
- [GNUnet-SVN] [gnunet] branch master updated (abf25faba -> c886489c9), gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 02/09: util: futurize contrib/scripts/gnunet-chk, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 01/09: util: futurize gnunet-qr, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 04/09: util: futurize contrib/scripts/pydiffer,
gnunet <=
- [GNUnet-SVN] [gnunet] 03/09: util: futurize contrib/scripts/gnunet_pyexpect, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 05/09: util: futurize contrib/scripts/terminate, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 07/09: util: futurize fs/test_gnunet_fs_psd, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 08/09: util: futurize revocation/test_local_revocation, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 09/09: Merge branch 'master' of gnunet.org:gnunet, gnunet, 2019/02/12
- [GNUnet-SVN] [gnunet] 06/09: util: futurize consensus/consensus-simulation, gnunet, 2019/02/12