toolsutils.py
changeset 7896 4c954e1e73ef
parent 7879 9aae456abab5
child 8695 358d8bed9626
--- a/toolsutils.py	Thu Sep 29 14:47:04 2011 +0200
+++ b/toolsutils.py	Tue Aug 09 09:43:26 2011 +0200
@@ -180,7 +180,7 @@
                            'Section %s is defined more than once' % section
                     config[section] = current = {}
                     continue
-                print >> sys.stderr, 'ignoring malformed line\n%r' % line
+                sys.stderr.write('ignoring malformed line\n%r\n' % line)
                 continue
             option = option.strip().replace(' ', '_')
             value = value.strip()