gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 01/09: util: futurize gnunet-qr


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/09: util: futurize gnunet-qr
Date: Tue, 12 Feb 2019 12:10:25 +0100

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

ng0 pushed a commit to branch master
in repository gnunet.

commit db602e98ebd0de54c4948a0978110c8371587ab6
Author: ng0 <address@hidden>
AuthorDate: Tue Feb 12 10:50:13 2019 +0000

    util: futurize gnunet-qr
    
    Signed-off-by: ng0 <address@hidden>
---
 src/util/gnunet-qr.py.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/util/gnunet-qr.py.in b/src/util/gnunet-qr.py.in
index a5918fdf8..6c9d208f7 100755
--- a/src/util/gnunet-qr.py.in
+++ b/src/util/gnunet-qr.py.in
@@ -1,4 +1,6 @@
 address@hidden@
+from __future__ import print_function
+from builtins import str
 import sys
 import getopt
 import subprocess
@@ -100,7 +102,7 @@ if __name__ == '__main__':
                         cmd += " " + str(a)
                 if (verbose):
                         print('Running `' + cmd +'`')
-                res=subprocess.call(args)
+                res = subprocess.call(args)
                 if (0 != res):
                         print('Failed to add URI ' + str(symbol.data))
                 else:

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



reply via email to

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