projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270b5b2
)
util: futurize gnunet-qr
author
ng0
<ng0@n0.is>
Tue, 12 Feb 2019 10:50:13 +0000
(10:50 +0000)
committer
ng0
<ng0@n0.is>
Tue, 12 Feb 2019 10:50:13 +0000
(10:50 +0000)
Signed-off-by: ng0 <ng0@n0.is>
src/util/gnunet-qr.py.in
patch
|
blob
|
history
diff --git
a/src/util/gnunet-qr.py.in
b/src/util/gnunet-qr.py.in
index a5918fdf85f4365765803f5ed55fd219ca79e4f7..6c9d208f7fc803c5a35460ec78c9db4fa46cad0e 100755
(executable)
--- a/
src/util/gnunet-qr.py.in
+++ b/
src/util/gnunet-qr.py.in
@@
-1,4
+1,6
@@
#!@PYTHON@
+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: