Mercurial > treepkg
changeset 565:7de7869962ef
Correct syntax and display abspath of config file
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 10:30:52 +0000 |
parents | a61046da30a1 |
children | 1b3b08bbe27a |
files | bin/sendnotificationmails.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/sendnotificationmails.py Fri Sep 02 10:25:59 2011 +0000 +++ b/bin/sendnotificationmails.py Fri Sep 02 10:30:52 2011 +0000 @@ -76,7 +76,8 @@ def main(): options, args = parse_commandline() if not os.path.exists(options.config_file): - print sys.stderr >> , "File not found: %s" % options.config_file + print >> sys.stderr, "File not found: %s" %\ + os.path.abspath(options.config_file) sys.exit(1) send_notification_mails(options.config_file)