Little change of the pip default executable detection.

Sun, 21 Jan 2018 15:06:57 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 21 Jan 2018 15:06:57 +0100
changeset 6076
b784925fb174
parent 6075
281a47a8be9d
child 6077
a7673d735aab

Little change of the pip default executable detection.

Plugins/PluginPipInterface.py file | annotate | diff | comparison | revisions
--- a/Plugins/PluginPipInterface.py	Sun Jan 21 12:34:07 2018 +0100
+++ b/Plugins/PluginPipInterface.py	Sun Jan 21 15:06:57 2018 +0100
@@ -227,7 +227,7 @@
                 versionStr = str(versionBytes, encoding='utf-8').strip()
                 if versionStr == "3":
                     _exePy3.add(exe)
-                else:
+                elif versionStr == "2":
                     _exePy2.add(exe)
             finally:
                 f.close()

eric ide

mercurial