Mercurial > treepkg > treepkg
comparison bin/sendnotificationmails.py @ 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 | 8f62a825addb |
comparison
equal
deleted
inserted
replaced
564:a61046da30a1 | 565:7de7869962ef |
---|---|
74 | 74 |
75 | 75 |
76 def main(): | 76 def main(): |
77 options, args = parse_commandline() | 77 options, args = parse_commandline() |
78 if not os.path.exists(options.config_file): | 78 if not os.path.exists(options.config_file): |
79 print sys.stderr >> , "File not found: %s" % options.config_file | 79 print >> sys.stderr, "File not found: %s" %\ |
80 os.path.abspath(options.config_file) | |
80 sys.exit(1) | 81 sys.exit(1) |
81 send_notification_mails(options.config_file) | 82 send_notification_mails(options.config_file) |
82 | 83 |
83 main() | 84 main() |