Utilities/__init__.py

changeset 2085
b4c1f0b6dac2
parent 2084
d3f083dd0222
child 2087
795992a5c561
equal deleted inserted replaced
2084:d3f083dd0222 2085:b4c1f0b6dac2
1289 be empty, if a syntax error was detected by the syntax checker. 1289 be empty, if a syntax error was detected by the syntax checker.
1290 """ 1290 """
1291 interpreter = Preferences.getDebugger("PythonInterpreter") 1291 interpreter = Preferences.getDebugger("PythonInterpreter")
1292 if interpreter == "" or not isinpath(interpreter): 1292 if interpreter == "" or not isinpath(interpreter):
1293 return (False, "", "", "", "", "", [( 1293 return (False, "", "", "", "", "", [(
1294 "", "1", 1294 file, "1",
1295 QCoreApplication.translate("Utilities", 1295 QCoreApplication.translate("Utilities",
1296 "Python2 interpreter not configured.") 1296 "Python2 interpreter not configured.")
1297 )]) 1297 )])
1298 1298
1299 syntaxChecker = os.path.join(getConfig('ericDir'), 1299 syntaxChecker = os.path.join(getConfig('ericDir'),

eric ide

mercurial