changeset 21:52a1d74084a6

merge
author Bernhard Herzog <bh@intevation.de>
date Tue, 13 Mar 2007 19:32:21 +0100
parents 467013d9d627 (current diff) 6ced445aa090 (diff)
children 687fc0b9f97e
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/readconfig.py	Tue Mar 13 19:29:34 2007 +0100
+++ b/treepkg/readconfig.py	Tue Mar 13 19:32:21 2007 +0100
@@ -40,8 +40,8 @@
             value = parser.get(section, key, vars=defaults)
             options[key] = converter(value)
         except NoOptionError:
-            print >>sys.stderr, "%s: Missing option %r in section %r" \
-                  % (filename, key, section)
+            print >>sys.stderr, "Missing option %r in section %r" \
+                  % (key, section)
             sys.exit(1)
     return options
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)