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:
-rwxr-xr-xcalm/calm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/calm/calm.py b/calm/calm.py
index e092468..c0926e0 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -343,6 +343,11 @@ def _process_maintainer_uploads(scan_result, args, state, all_packages, m, based
# remove files which are to be removed
scan_result[arch].to_vault.map(lambda p, f: package.delete(merged_packages[arch], p, f))
+ # if an error occurred ...
+ if not valid:
+ # ... discard move list and merged_packages
+ return False
+
# validate the package set
state.valid_provides = db.update_package_names(args, merged_packages)
for arch in common_constants.ARCHES: