diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-09-17 22:03:06 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-09-19 15:44:22 +0300 |
commit | 58939006d9020bd49503ae6586e5b1f9fafdd87b (patch) | |
tree | 77db791559cc0a0da8b9ed94836109cc6b4d3496 | |
parent | d4c6f0be2acd3674f7f98a72bb8b45360b787326 (diff) |
Tweak reporting of vaulting packages
We count the number of packages vaulted, not files
-rwxr-xr-x | calm/calm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/calm.py b/calm/calm.py index 0d41602..4d5e371 100755 --- a/calm/calm.py +++ b/calm/calm.py @@ -107,7 +107,7 @@ def process(args): stale_to_vault = remove_stale_packages(args, packages) if stale_to_vault: for arch in common_constants.ARCHES + ['noarch']: - logging.info("vaulting %d old files for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch)) + logging.info("vaulting %d old packages for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch)) uploads.move_to_vault(args, stale_to_vault[arch]) else: return None @@ -218,7 +218,7 @@ def process(args): if args.stale: for arch in common_constants.ARCHES + ['noarch']: if stale_to_vault[arch]: - logging.info("vaulting %d old files for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch)) + logging.info("vaulting %d old package for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch)) uploads.move_to_vault(args, stale_to_vault[arch]) # for each arch |