Commit 3a11e717 authored by Łukasz Langa's avatar Łukasz Langa

%s -> %r correction after review by Éric Araujo

parent 4d0d471a
......@@ -653,7 +653,7 @@ class RawConfigParser(MutableMapping):
already exists. Raise ValueError if name is DEFAULT.
"""
if section == self.default_section:
raise ValueError('Invalid section name: %s' % section)
raise ValueError('Invalid section name: %r' % section)
if section in self._sections:
raise DuplicateSectionError(section)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment