Utilities/__init__.py

changeset 3451
e9ee3ea73db4
parent 3446
5a670e55adbb
child 3457
bfc38662e6fc
equal deleted inserted replaced
3450:2f7c8fd8e3f5 3451:e9ee3ea73db4
1327 if pyVer: 1327 if pyVer:
1328 # Skip the next tests 1328 # Skip the next tests
1329 pass 1329 pass
1330 elif (Preferences.getProject("DeterminePyFromProject") and 1330 elif (Preferences.getProject("DeterminePyFromProject") and
1331 project.isOpen() and 1331 project.isOpen() and
1332 project.isProjectFile(filename)): 1332 project.isProjectFile(filename) and
1333 ext in py2Ext + py3Ext):
1333 pyVer = pyAssignment.get(project.getProjectLanguage(), 0) 1334 pyVer = pyAssignment.get(project.getProjectLanguage(), 0)
1334 elif ext in py2Ext and ext not in py3Ext: 1335 elif ext in py2Ext and ext not in py3Ext:
1335 pyVer = 2 1336 pyVer = 2
1336 elif ext in py3Ext and ext not in py2Ext: 1337 elif ext in py3Ext and ext not in py2Ext:
1337 pyVer = 3 1338 pyVer = 3

eric ide

mercurial