--- a/Globals/__init__.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Globals/__init__.py Fri Oct 18 23:00:41 2013 +0200 @@ -80,8 +80,9 @@ # check for blacklisted versions for vers in BlackLists["sip"] + PlatformBlackLists["sip"]: if vers == sipVersion: - print('Sorry, sip version {0} is not compatible with eric5.'\ - .format(vers)) + print( + 'Sorry, sip version {0} is not compatible with eric5.' + .format(vers)) print('Please install another version.') return False except ImportError: @@ -106,10 +107,12 @@ # always assume, that snapshots are new enough if "snapshot" not in scintillaVersion: # check for blacklisted versions - for vers in BlackLists["QScintilla2"] + PlatformBlackLists["QScintilla2"]: + for vers in BlackLists["QScintilla2"] + \ + PlatformBlackLists["QScintilla2"]: if vers == scintillaVersion: - print('Sorry, QScintilla2 version {0} is not compatible with eric5.'\ - .format(vers)) + print( + 'Sorry, QScintilla2 version {0} is not compatible' + ' with eric5.'.format(vers)) print('Please install another version.') return False @@ -190,9 +193,9 @@ return QDir.toNativeSeparators(path) -################################################################################ +############################################################################### ## functions for searching a Python2/3 interpreter -################################################################################ +############################################################################### def findPythonInterpreters(pyVersion): @@ -203,7 +206,8 @@ @return list of interpreters found (list of strings) """ if pyVersion == 2: - winPathList = ["C:\\Python25", "C:\\Python26", "C:\\Python27", "C:\\Python28"] + winPathList = ["C:\\Python25", "C:\\Python26", + "C:\\Python27", "C:\\Python28"] posixVersionsList = ["2.5", "2.6", "2.7", "2.8"] else: winPathList = ["C:\\Python3{0}".format(x) for x in range(5)]