From ca6eef59c1fff9fa50d6e5f3922b6d64489e7fe9 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 3 Apr 2018 09:57:40 -0400 Subject: [PATCH] stop requiring comments to match global-requirements.txt Requiring the comments after the version numbers to match seems overly pedantic. Change-Id: Ia9d94ea194128dff867cd069488773454ba121ce Signed-off-by: Doug Hellmann --- openstack_requirements/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_requirements/check.py b/openstack_requirements/check.py index 35a81cf1cd..4e9cb2699b 100644 --- a/openstack_requirements/check.py +++ b/openstack_requirements/check.py @@ -88,7 +88,7 @@ def _is_requirement_in_global_reqs(req, global_reqs): for req2 in global_reqs: matching = True - for aname in ['package', 'location', 'markers', 'comment']: + for aname in ['package', 'location', 'markers']: rval = getattr(req, aname) r2val = getattr(req2, aname) if rval != r2val: