gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: Fix syntax error in gnunet-


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README.
Date: Tue, 26 Feb 2019 16:43:59 +0100

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

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 59b712b66 Fix syntax error in gnunet-qr. We can not handle this 
exception. Just read the README.
59b712b66 is described below

commit 59b712b66d8d399781c086402e80393e7aa9868c
Author: ng0 <address@hidden>
AuthorDate: Tue Feb 26 15:43:50 2019 +0000

    Fix syntax error in gnunet-qr. We can not handle this exception. Just read 
the README.
---
 src/util/gnunet-qr.py | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/util/gnunet-qr.py b/src/util/gnunet-qr.py
index 88fb4fc50..6cb9633f0 100755
--- a/src/util/gnunet-qr.py
+++ b/src/util/gnunet-qr.py
@@ -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

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



reply via email to

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