From 9078b0c275125b133f515256a821e02e33aaf80f Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 3 May 2019 15:40:49 -0500 Subject: [PATCH] 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 --- openstack_requirements/check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_requirements/check.py b/openstack_requirements/check.py index 9522ce731d..638d106f05 100644 --- a/openstack_requirements/check.py +++ b/openstack_requirements/check.py @@ -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