bug-gnulib
[Top][All Lists]
Advanced

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

Re: Fix crash in gnulib-tool.py under Python 2.6 and lower


From: Gisle Vanem
Subject: Re: Fix crash in gnulib-tool.py under Python 2.6 and lower
Date: Sun, 14 Oct 2018 02:23:30 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Darshit Shah wrote:

+# If using Python 2, ensure that at least version 2.7 is used. Older versions
+# are not supported
+if not PYTHON3 or sys.version_info[1] < 7:
+    print("Python version must be atleast 2.7. Exiting.")

Shouldn't this be:
  if not PYTHON3 and sys.version_info[1] < 7:

--
--gv



reply via email to

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