diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-10-28 14:17:27 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-10-28 14:17:27 -0400 |
| commit | 9543875b93ab646e6c1f5ded7164d108de498852 (patch) | |
| tree | 7b1504ad979f66e7ccb3e29b2b4faa291dad94ba | |
| parent | 42fe2eb166a3a1b2d31f0be93ad034ec48ea9b38 (diff) | |
| download | python-setuptools-git-9543875b93ab646e6c1f5ded7164d108de498852.tar.gz | |
Inline variable
| -rw-r--r-- | setuptools/config.py | 5 |
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 |
