eric6/Project/DebuggerPropertiesDialog.py

branch
without_py2_and_pyqt4
changeset 7199
c71bd6f21748
parent 6942
2602857055c5
child 7229
53054eb5b15a
equal deleted inserted replaced
7198:684261ef2165 7199:c71bd6f21748
67 67
68 if self.project.debugProperties["VIRTUALENV"]: 68 if self.project.debugProperties["VIRTUALENV"]:
69 venvIndex = max(0, self.venvComboBox.findText( 69 venvIndex = max(0, self.venvComboBox.findText(
70 self.project.debugProperties["VIRTUALENV"])) 70 self.project.debugProperties["VIRTUALENV"]))
71 else: 71 else:
72 if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2"]: 72 if self.project.pdata["PROGLANGUAGE"] == "Python2":
73 venvName = Preferences.getDebugger("Python2VirtualEnv") 73 venvName = Preferences.getDebugger("Python2VirtualEnv")
74 elif self.project.pdata["PROGLANGUAGE"] == "Python3": 74 elif self.project.pdata["PROGLANGUAGE"] == "Python3":
75 venvName = Preferences.getDebugger("Python3VirtualEnv") 75 venvName = Preferences.getDebugger("Python3VirtualEnv")
76 else: 76 else:
77 venvName = "" 77 venvName = ""

eric ide

mercurial