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>2019-06-17 13:43:34 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2019-06-20 11:25:36 +0300
commit65fee8305bcab558831f89750c1690298a210895 (patch)
treec17d5b036d18137ec5d9ed76adf04aa6d56c86ff
parent9d3908e05391a205ebcdb923d2ffdf9fa8687f50 (diff)
Clarify messages which can appear as a consequence of another error
Clarify messages which can appear as a consequence of another error in a different package. (We don't distinguish between missing and errored packages, so this is the best we can do, at the moment.)
-rwxr-xr-xcalm/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/package.py b/calm/package.py
index 0bf6582..5a4ab3e 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -448,7 +448,7 @@ def validate_packages(args, packages):
# disable-check option says that's ok)
if r not in packages:
if okmissing not in getattr(args, 'disable_check', []):
- logging.error("package '%s' version '%s' %s nonexistent package '%s'" % (p, v, c, r))
+ logging.error("package '%s' version '%s' %s nonexistent or errored package '%s'" % (p, v, c, r))
error = True
continue
@@ -461,7 +461,7 @@ def validate_packages(args, packages):
if 'external-source' in hints:
e = hints['external-source']
if e not in packages:
- logging.error("package '%s' version '%s' refers to nonexistent external-source '%s'" % (p, v, e))
+ logging.error("package '%s' version '%s' refers to nonexistent or errored external-source '%s'" % (p, v, e))
error = True
packages[p].vermap = defaultdict(defaultdict)