install.py

changeset 4380
d79c055a12cc
parent 4374
627e3d0b4ba1
child 4435
9f6555d3c3c0
--- a/install.py	Fri Aug 21 14:16:37 2015 +0200
+++ b/install.py	Sat Aug 22 17:15:01 2015 +0200
@@ -174,7 +174,10 @@
     print("    -y         add the Python variant to the executable names")
     print("    -z         don't compile the installed python files")
     print("    --pyqt=version version of PyQt to be used (one of 4 or 5)")
-    print("                   (default: {0})".format(pyqtVariant[-1]))
+    if pyqtVariant:
+        print("                   (default: {0})".format(pyqtVariant[-1]))
+    else:
+        print("                   (no PyQt variant found)")
     print()
     print("The file given to the -f option must be valid Python code"
           " defining a")

eric ide

mercurial