Utilities/__init__.py

branch
5_1_x
changeset 1125
4ecd7e08246b
parent 1107
cad60e83a962
child 1168
68d25b6dd44d
equal deleted inserted replaced
1124:0663c41e24b9 1125:4ecd7e08246b
1148 list of (string, string, string)). The syntax error values are only 1148 list of (string, string, string)). The syntax error values are only
1149 valid, if the status is True. The pyflakes list will be empty, if a 1149 valid, if the status is True. The pyflakes list will be empty, if a
1150 syntax error was detected by the syntax checker. 1150 syntax error was detected by the syntax checker.
1151 """ 1151 """
1152 interpreter = Preferences.getDebugger("PythonInterpreter") 1152 interpreter = Preferences.getDebugger("PythonInterpreter")
1153 if interpreter == "" or not isExecutable(interpreter): 1153 if interpreter == "" or not isinpath(interpreter):
1154 return (True, file, "1", "", 1154 return (True, file, "1", "",
1155 QCoreApplication.translate("Utilities", 1155 QCoreApplication.translate("Utilities",
1156 "Python2 interpreter not configured."), 1156 "Python2 interpreter not configured."),
1157 []) 1157 [])
1158 1158

eric ide

mercurial