Report bad package when found
When a non-standard package is found in the requirements list, we had an error saying that but not saying what the bad package name was. Change-Id: I860c548dce0c8f988f8fd29cead582bf9b9b6850
This commit is contained in:
parent
75aa400c7e
commit
a85286e3b2
@ -252,7 +252,8 @@ def _sync_requirements_file(
|
||||
actions.append(StdOut(
|
||||
"'%s' is not in global-requirements.txt\n" % req.package))
|
||||
if not non_std_reqs:
|
||||
raise Exception("nonstandard requirement present.")
|
||||
raise Exception("nonstandard requirement present: %s" %
|
||||
req.package)
|
||||
# always print out what we did if we did a thing
|
||||
if changes:
|
||||
actions.append(StdOut(
|
||||
|
Loading…
x
Reference in New Issue
Block a user