Upgrade vendored pythonfinder

Now at commit 6ad2bbd8bdc2, around 0.1.4.
This commit is contained in:
Tzu-ping Chung
2018-07-10 14:45:28 +08:00
parent 040b535fd6
commit 6ee13ebaae
13 changed files with 156 additions and 53 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
# -*- coding=utf-8 -*-
from __future__ import print_function, absolute_import
import attr
import copy
import platform
@@ -122,7 +123,7 @@ class PythonVersion(object):
if not path.is_python:
raise ValueError("Not a valid python path: %s" % path.path)
return
py_version, _ = get_python_version(str(path.path))
py_version = get_python_version(str(path.path))
instance_dict = cls.parse(py_version)
if not isinstance(instance_dict.get("version"), Version):
raise ValueError("Not a valid python path: %s" % path.path)