QScintilla/MiniEditor.py

changeset 3621
15f23ed3f216
parent 3591
2f2a4a76dd22
child 3642
1a6f8d9b63a5
--- a/QScintilla/MiniEditor.py	Fri May 30 13:17:20 2014 +0200
+++ b/QScintilla/MiniEditor.py	Fri May 30 15:16:40 2014 +0200
@@ -2799,7 +2799,7 @@
             line0 = self.__textEdit.text(0)
             if line0.startswith("#!") and \
                ("python2" in line0 or
-                    ("python" in line0 and not "python3" in line0)):
+                    ("python" in line0 and "python3" not in line0)):
                 return True
             
             if self.__curFile is not None:

eric ide

mercurial