From 2e14c80e73c54248f01feb79f26bb9bd79221010 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 2 Mar 2017 13:39:29 -0500 Subject: [PATCH] fix error/warning reporting for sdist name mismatch When the sdist doesn't match the expected value, check the project not the deliverable to see if it was set explicitly to build the message. Change-Id: I6d6af1671f1baa47d16895a0b4afc816867fb88f Signed-off-by: Doug Hellmann --- openstack_releases/cmds/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_releases/cmds/validate.py b/openstack_releases/cmds/validate.py index 22641a14b1..9698716b34 100644 --- a/openstack_releases/cmds/validate.py +++ b/openstack_releases/cmds/validate.py @@ -293,7 +293,7 @@ def validate_releases(deliverable_info, zuul_layout, os.path.basename(project['repo']), ) if sdist != expected: - if 'tarball-base' in deliverable_info: + if 'tarball-base' in project: action = 'is set to' else: action = 'defaults to'