mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
commit
4d742cc60e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user