Change debugging from "Ignoring" to "Skipping", and use repr().

This commit is contained in:
Thomas Hurst 2008-08-29 21:29:07 +01:00
parent d388885581
commit a37be8bb35
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class ConfigFile:
if not self._call_if_match(Barevalue, self._value, 1):
raise ConfigSyntaxError(_("Setting without a value"), self)
self._call_if_match(Ignore, lambda junk: dbg("Ignoring: %s" % junk))
self._call_if_match(Ignore, lambda junk: dbg("Skipping: %s" % repr(junk)))
if self._line[self._pos:] != '':
raise ConfigSyntaxError(_("Unexpected token"), self)