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>2020-08-25 19:41:40 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2020-08-25 19:41:40 +0300
commit0d4ddc942221483b40b65f9cb73ca4715049f075 (patch)
tree1ff8e32ba9885125970eccd18550649a362a9d6a
parent1d34f9b56348160f825a468f4845835802cac996 (diff)
Always discard packages which already exist in relarea
Always discard packages which already exist in relarea, rather than keeping them around to warn about if they are different.
-rw-r--r--calm/uploads.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/calm/uploads.py b/calm/uploads.py
index 2f4bb87..6d20d58 100644
--- a/calm/uploads.py
+++ b/calm/uploads.py
@@ -267,7 +267,8 @@ def scan(m, all_packages, arch, args):
logging.info("discarding, identical %s is already in release area" % fn)
remove_success.append(fn)
else:
- logging.error("ignoring, different %s is already in release area (perhaps you should rebuild with a different version-release identifier?)" % fn)
+ logging.error("discarding, different %s is already in release area (perhaps you should rebuild with a different version-release identifier?)" % fn)
+ remove.append(fn)
error = True
files.remove(f)
else: