Add missing format arg for missing g-r reqs

Error message when package not found in the global requirements has
formatting placeholder for the missing package name, but no formatting
was being called to actually populate the name.

Change-Id: Ibf778c61f170fcb798dc93c79c9ab4cdae658c84
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2019-05-03 15:40:49 -05:00
parent e08870c9a3
commit 9078b0c275
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -121,7 +121,8 @@ def _is_requirement_in_global_reqs(req, global_reqs):
print(
"Could not find a global requirements entry to match package {}. "
"If the package is already included in the global list, "
"the name or platform markers there may not match the local settings."
"the name or platform markers there may not match the local "
"settings.".format(req.package)
)
return False