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

This commit is contained in:
Łukasz Langa 2010-12-03 22:15:19 +00:00
parent 4d0d471a80
commit 3a11e717aa
1 changed files with 1 additions and 1 deletions

View File

@ -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)