install.py: fixed an issue caused by using a variable before it was set.

Sun, 03 Jun 2018 11:30:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 03 Jun 2018 11:30:15 +0200
changeset 6322
cb7d2ab9c9f5
parent 6318
17df7a729d94
child 6323
610b676336be

install.py: fixed an issue caused by using a variable before it was set.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sat Jun 02 12:42:59 2018 +0200
+++ b/install.py	Sun Jun 03 11:30:15 2018 +0200
@@ -1338,6 +1338,8 @@
                     message = None
                 except ImportError as msg:
                     message = str(msg)
+            else:
+                message = "QScintilla could not be installed."
         if message:
             print("Sorry, please install QScintilla2 and")
             print("its PyQt5/PyQt4 wrapper.")

eric ide

mercurial