aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-10-28 14:17:27 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-10-28 14:17:27 -0400
commit9543875b93ab646e6c1f5ded7164d108de498852 (patch)
tree7b1504ad979f66e7ccb3e29b2b4faa291dad94ba /setuptools
parent42fe2eb166a3a1b2d31f0be93ad034ec48ea9b38 (diff)
downloadexternal_python_setuptools-9543875b93ab646e6c1f5ded7164d108de498852.tar.gz
external_python_setuptools-9543875b93ab646e6c1f5ded7164d108de498852.tar.bz2
external_python_setuptools-9543875b93ab646e6c1f5ded7164d108de498852.zip
Inline variable
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/config.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/config.py b/setuptools/config.py
index 302d633f..15d18672 100644
--- a/setuptools/config.py
+++ b/setuptools/config.py
@@ -85,12 +85,9 @@ def configuration_to_dict(handlers):
config_dict = defaultdict(dict)
for handler in handlers:
-
- obj_alias = handler.section_prefix
-
for option in handler.set_options:
value = _get_option(handler.target_obj, option)
- config_dict[obj_alias][option] = value
+ config_dict[handler.section_prefix][option] = value
return config_dict