Skip to content
Snippets Groups Projects
Commit 46badcc1 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Try a fix for issue #77

parent 66783db1
No related branches found
No related tags found
1 merge request!70Try a fix for issue #77
......@@ -17,9 +17,11 @@ def main(scandir, dry_run):
if f.startswith('.'): continue
if not f.endswith('.tar.bz2'): continue
name, version, build_string = f[:-8].rsplit('-', 2)
build = build_string.rsplit('_')[-1]
hash_, build = build_string.rsplit('_')
pyver, _ = hash_.rsplit('h', 1)
name = os.path.basename(path) + '/' + name
if pyver: name += '/' + pyver
target = os.path.join(path, f)
betas.setdefault(name, []).append((
StrictVersion(version),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment