summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-04-23 10:04:49 +0100
committerStephen Finucane <sfinucan@redhat.com>2021-04-23 10:05:50 +0100
commitf3b1c7533e4fe2fdbe847f7471478e7953dc1b4f (patch)
tree41d223d27e99a49538ea5b156c5c909f1b30a9bb
parentd9f72421f6dca6e151f999dbbebd81cc36445704 (diff)
downloadpbr-f3b1c7533e4fe2fdbe847f7471478e7953dc1b4f.tar.gz
Correct comment for 'D1_D2_SETUP_ARGS'
Change Ic7b71f1093671533c9f17fd621e02299bfbd7a6d reversed the order of this list but didn't update the comment. Do so now. Change-Id: I36f2dd791297a9e3df4f1e427db5b45017820bbf Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-rw-r--r--pbr/util.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pbr/util.py b/pbr/util.py
index 75a7ebb..0669a24 100644
--- a/pbr/util.py
+++ b/pbr/util.py
@@ -88,10 +88,8 @@ import pbr.hooks
# predicates in ()
_VERSION_SPEC_RE = re.compile(r'\s*(.*?)\s*\((.*)\)\s*$')
-
-# Mappings from setup() keyword arguments to setup.cfg options;
-# The values are (section, option) tuples, or simply (section,) tuples if
-# the option has the same name as the setup() argument
+# Mappings from setup.cfg options, in (section, option) form, to setup()
+# keyword arguments
CFG_TO_PY_SETUP_ARGS = (
(('metadata', 'name'), 'name'),
(('metadata', 'version'), 'version'),