Fix checking of requirement statisfaction of version

parent 774077cf
......@@ -184,6 +184,7 @@ def least_satisfiable_version(requirement, version_list):
'''
satisfied_list = []
for version in version_list:
if version_satisfy_requirement(requirement, version):
status, violation = version_satisfy_requirement(requirement, version)
if status:
satisfied_list.append(LooseVersion(str(version)))
return str(min(satisfied_list))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment