Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README.
authorng0 <ng0@n0.is>
Tue, 26 Feb 2019 15:43:50 +0000 (15:43 +0000)
committerng0 <ng0@n0.is>
Tue, 26 Feb 2019 15:43:50 +0000 (15:43 +0000)
src/util/gnunet-qr.py

index 88fb4fc506abb1f78e5aa61c952db51b1bd80ad7..6cb9633f05dfa5b9f134dbdf515c85b00633b737 100755 (executable)
@@ -1,12 +1,6 @@
+from __future__ import print_function
+from builtins import str
 import sys
-try:
-    from __future__ import print_function
-    from builtins import str
-except ImportError as e:
-    print('Cannot import future modules, python2.7 future module required!')
-    print('For Debian, you can obtain is as "python-future".')
-    print('Upstream: https://python-future.org/')
-    sys.exit(1) 
 import getopt
 import subprocess
 from sys import argv