aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-12 10:50:13 +0000
committerng0 <ng0@n0.is>2019-02-12 10:50:13 +0000
commitdb602e98ebd0de54c4948a0978110c8371587ab6 (patch)
tree16384cedd31eac0ca364d74bfc3f54d71e5cff6b /src/util
parent270b5b2ad07eb6c419078e4b7ceea9791c5625f6 (diff)
downloadgnunet-db602e98ebd0de54c4948a0978110c8371587ab6.tar.gz
gnunet-db602e98ebd0de54c4948a0978110c8371587ab6.zip
util: futurize gnunet-qr
Signed-off-by: ng0 <ng0@n0.is>
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/gnunet-qr.py.in4
1 files changed, 3 insertions, 1 deletions
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 @@
1#!@PYTHON@ 1#!@PYTHON@
2from __future__ import print_function
3from builtins import str
2import sys 4import sys
3import getopt 5import getopt
4import subprocess 6import subprocess
@@ -100,7 +102,7 @@ if __name__ == '__main__':
100 cmd += " " + str(a) 102 cmd += " " + str(a)
101 if (verbose): 103 if (verbose):
102 print('Running `' + cmd +'`') 104 print('Running `' + cmd +'`')
103 res=subprocess.call(args) 105 res = subprocess.call(args)
104 if (0 != res): 106 if (0 != res):
105 print('Failed to add URI ' + str(symbol.data)) 107 print('Failed to add URI ' + str(symbol.data))
106 else: 108 else: