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

Better log

parent 46badcc1
No related branches found
No related tags found
1 merge request!70Try a fix for issue #77
......@@ -41,9 +41,9 @@ def main(scandir, dry_run):
keep_version, keep_build, _, _ = sorted_packages[-1]
for version, build, mtime, path in sorted_packages:
if version == keep_version and build == keep_build:
print('[keep] %s (%u)' % (path, mtime))
print('[keep] %s (time=%u)' % (path, mtime))
else:
print('remove %s (%u)' % (path, mtime))
print('remove %s (time=%u)' % (path, mtime))
if not dry_run: os.unlink(path)
......
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