Mercurial > treepkg
changeset 17:6ced445aa090
filename is not available for read config error message
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Mon, 12 Mar 2007 15:24:18 +0100 |
parents | 7c55f3879c4d |
children | 52a1d74084a6 2802be410156 |
files | treepkg/readconfig.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/readconfig.py Fri Mar 09 19:39:13 2007 +0100 +++ b/treepkg/readconfig.py Mon Mar 12 15:24:18 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