diff 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
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)
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)