Complete comment.

This commit is contained in:
Georg Brandl 2010-06-20 18:29:47 +02:00
parent 4c0f91f2ca
commit 74e791301d

View File

@ -178,8 +178,8 @@ class Config(object):
self.extensions = config.get('extensions', [])
def check_unicode(self, warn):
# check all string values for non-ASCII characters in
# bytestrings, since that can
# check all string values for non-ASCII characters in bytestrings,
# since that can result in UnicodeErrors all over the place
for name, value in self._raw_config.iteritems():
if isinstance(value, str) and nonascii_re.search(value):
warn('the config value %r is set to a string with non-ASCII '