From fc6d232a9357211a44dad3300ff64571620aa1bf Mon Sep 17 00:00:00 2001 From: necoro <> Date: Fri, 13 Jul 2007 04:09:51 +0000 Subject: new fancier log output --- portato/config_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/config_parser.py') diff --git a/portato/config_parser.py b/portato/config_parser.py index 19d3929..32e0518 100644 --- a/portato/config_parser.py +++ b/portato/config_parser.py @@ -207,7 +207,7 @@ class ConfigParser: self.vars[section][key] = Value(val, count, bool = bool) self.pos[count] = match.span(2) else: # neither comment nor empty nor expression nor section => error - debug("Unrecognized line in configuration:", line, error = 1) + error("Unrecognized line in configuration: %s", line) def get (self, key, section = "MAIN"): """Returns the value of a given key in a section. -- cgit v1.2.3