fix --two

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-23 15:32:07 -04:00
parent 65b0d61136
commit 55e8a7a5e7
+1 -1
View File
@@ -356,7 +356,7 @@ def find_a_system_python(python):
versions.append(python_version(p))
for i, version in enumerate(versions):
if python in (version or ''):
if (version or '').startswith(python):
return pythons[i]