Bugfix: when not find a version that satisfies the requirement.

show all versions but duplicate
This commit is contained in:
dongweiming 2014-02-03 21:14:43 -05:00
parent 4087145c09
commit e430b58ceb
1 changed files with 5 additions and 4 deletions

View File

@ -348,10 +348,11 @@ class PackageFinder(object):
'(from versions: %s)' %
(
req,
', '.join([
version
for parsed_version, link, version in all_versions
])
', '.join(
sorted(list(set([
version
for parsed_version, link, version in all_versions
]))))
)
)