1200 py3Exts.append(ext) |
1200 py3Exts.append(ext) |
1201 else: |
1201 else: |
1202 py3Exts.append(".{0}".format(ext)) |
1202 py3Exts.append(".{0}".format(ext)) |
1203 |
1203 |
1204 registryData = [] |
1204 registryData = [] |
1205 if py2Exts and Preferences.getDebugger("Python2VirtualEnv"): |
1205 if py2Exts and (Preferences.getDebugger("Python2VirtualEnv") or |
|
1206 sys.version_info[0] == 2): |
1206 registryData.append( |
1207 registryData.append( |
1207 ("Python2", ClientDefaultCapabilities, py2Exts, |
1208 ("Python2", ClientDefaultCapabilities, py2Exts, |
1208 createDebuggerInterfacePython2) |
1209 createDebuggerInterfacePython2) |
1209 ) |
1210 ) |
1210 |
1211 |
1211 if py3Exts and Preferences.getDebugger("Python3VirtualEnv"): |
1212 if py3Exts and (Preferences.getDebugger("Python3VirtualEnv") or |
|
1213 sys.version_info[0] == 3): |
1212 registryData.append( |
1214 registryData.append( |
1213 ("Python3", ClientDefaultCapabilities, py3Exts, |
1215 ("Python3", ClientDefaultCapabilities, py3Exts, |
1214 createDebuggerInterfacePython3) |
1216 createDebuggerInterfacePython3) |
1215 ) |
1217 ) |
1216 |
1218 |