diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-06-17 13:43:34 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-06-20 11:25:36 +0300 |
commit | 65fee8305bcab558831f89750c1690298a210895 (patch) | |
tree | c17d5b036d18137ec5d9ed76adf04aa6d56c86ff | |
parent | 9d3908e05391a205ebcdb923d2ffdf9fa8687f50 (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-x | calm/package.py | 4 |
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) |