aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/config.py
diff options
context:
space:
mode:
authoridle sign <idlesign@yandex.ru>2016-12-04 16:22:07 +0700
committeridle sign <idlesign@yandex.ru>2016-12-04 16:22:07 +0700
commit68c03bee07c55a9c337f1cb98fc102a3710add4b (patch)
tree92aa785736df872b77b93427b6bddb374e851a49 /setuptools/config.py
parent566e9aee17dbe2cec92b9d793f2466681f2b1a7f (diff)
downloadexternal_python_setuptools-68c03bee07c55a9c337f1cb98fc102a3710add4b.tar.gz
external_python_setuptools-68c03bee07c55a9c337f1cb98fc102a3710add4b.tar.bz2
external_python_setuptools-68c03bee07c55a9c337f1cb98fc102a3710add4b.zip
Section names now dot-separated to mimic .toml table names.
Diffstat (limited to 'setuptools/config.py')
-rw-r--r--setuptools/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/config.py b/setuptools/config.py
index 5c73ca62..a04c3ce8 100644
--- a/setuptools/config.py
+++ b/setuptools/config.py
@@ -32,7 +32,7 @@ class ConfigHandler(object):
if not section_name.startswith(section_prefix):
continue
- section_name = section_name.replace(section_prefix, '').strip(':')
+ section_name = section_name.replace(section_prefix, '').strip('.')
sections[section_name] = section_options
self.target_obj = target_obj