diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-05-02 13:57:57 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-05-02 14:17:02 +0300 |
commit | c8a3d5728bbf2bdb0cad0d4e00be0df9d1935206 (patch) | |
tree | ac13feb43e96eaeab335845fe70a10a00673d9f1 | |
parent | b686397f69121181d9e87e927c833b72f5a9ef13 (diff) |
Fix a bug which caused remove-only uploads to be ignored.
Even if the maintainer is just removing packages, we still have something to
do.
-rwxr-xr-x | calm.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -106,9 +106,9 @@ def process_arch(args): logging.error("error while reading uploaded packages for %s" % (name)) continue - # if there are no uploaded packages for this maintainer, we - # don't have anything to do - if not scan_result.packages: + # if there are no uploaded or removed packages for this + # maintainer, we don't have anything to do + if not scan_result.packages and not scan_result.to_vault: logging.debug("nothing to do for maintainer %s" % (name)) continue |