Utilities/__init__.py

changeset 6735
31e263d49c04
parent 6645
ad476851d7e0
child 6881
054667c5c270
equal deleted inserted replaced
6734:1eaf6955acf5 6735:31e263d49c04
1574 pass 1574 pass
1575 elif (Preferences.getProject("DeterminePyFromProject") and 1575 elif (Preferences.getProject("DeterminePyFromProject") and
1576 project.isOpen() and 1576 project.isOpen() and
1577 project.isProjectFile(filename) and 1577 project.isProjectFile(filename) and
1578 ext in py2Ext + py3Ext): 1578 ext in py2Ext + py3Ext):
1579 pyVer = pyAssignment.get(project.getProjectLanguage(), 0) 1579 pyVer = pyAssignment.get(project.getProjectLanguage(), 0)
1580 elif ext in py2Ext and ext not in py3Ext: 1580 elif ext in py2Ext and ext not in py3Ext:
1581 pyVer = 2 1581 pyVer = 2
1582 elif ext in py3Ext and ext not in py2Ext: 1582 elif ext in py3Ext and ext not in py2Ext:
1583 pyVer = 3 1583 pyVer = 3
1584 elif source: 1584 elif source:

eric ide

mercurial