Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-05-02 13:57:57 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2016-05-02 14:17:02 +0300
commitc8a3d5728bbf2bdb0cad0d4e00be0df9d1935206 (patch)
treeac13feb43e96eaeab335845fe70a10a00673d9f1
parentb686397f69121181d9e87e927c833b72f5a9ef13 (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-xcalm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/calm.py b/calm.py
index 06cae27..ae48916 100755
--- a/calm.py
+++ b/calm.py
@@ -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