From acaece809ee3592c0d135a9a0a8e556db0a9e587 Mon Sep 17 00:00:00 2001 From: idle sign Date: Mon, 5 Dec 2016 22:07:16 +0700 Subject: Tests and docstrings update. --- setuptools/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setuptools/config.py') diff --git a/setuptools/config.py b/setuptools/config.py index c2319ed5..2dd42893 100644 --- a/setuptools/config.py +++ b/setuptools/config.py @@ -87,7 +87,7 @@ class ConfigHandler(object): :param separator: List items separator character. :rtype: list """ - if isinstance(value, list): # _parse_complex case + if isinstance(value, list): # _get_parser_compound case return value if '\n' in value: @@ -250,7 +250,7 @@ class ConfigHandler(object): for section_name, section_options in self.sections.items(): method_postfix = '' - if section_name: # [section:option] variant + if section_name: # [section.option] variant method_postfix = '_%s' % section_name section_parser_method = getattr( @@ -258,7 +258,7 @@ class ConfigHandler(object): if section_parser_method is None: raise DistutilsOptionError( - 'Unsupported distribution option section: [%s:%s]' % ( + 'Unsupported distribution option section: [%s.%s]' % ( self.section_prefix, section_name)) section_parser_method(section_options) -- cgit v1.2.1