Merge pull request #10344 from terminalmage/9895

Fix missing split
This commit is contained in:
Pedro Algarvio 2014-02-11 16:42:16 +00:00
commit 4d742cc60e

View File

@ -56,7 +56,7 @@ def _parse_pkg_meta(path):
path
)
).strip()
name, version, rel
name, version, rel = path.split('_|-')
if rel:
version = '-'.join((version, rel))
return name, version