summaryrefslogtreecommitdiff
path: root/portato/config_parser.py
diff options
context:
space:
mode:
authornecoro <>2007-07-13 04:09:51 +0000
committernecoro <>2007-07-13 04:09:51 +0000
commitfc6d232a9357211a44dad3300ff64571620aa1bf (patch)
tree2f31112805b8d05c94978775a183668dc260367c /portato/config_parser.py
parentb5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef (diff)
downloadportato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.gz
portato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.bz2
portato-fc6d232a9357211a44dad3300ff64571620aa1bf.zip
new fancier log output
Diffstat (limited to 'portato/config_parser.py')
-rw-r--r--portato/config_parser.py2
1 files changed, 1 insertions, 1 deletions
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.