[Treepkg-commits] r528 - trunk/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 2 12:30:53 CEST 2011


Author: bricks
Date: 2011-09-02 12:30:52 +0200 (Fri, 02 Sep 2011)
New Revision: 528

Modified:
   trunk/bin/sendnotificationmails.py
Log:
Correct syntax and display abspath of config file


Modified: trunk/bin/sendnotificationmails.py
===================================================================
--- trunk/bin/sendnotificationmails.py	2011-09-02 10:25:59 UTC (rev 527)
+++ trunk/bin/sendnotificationmails.py	2011-09-02 10:30:52 UTC (rev 528)
@@ -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)
 



More information about the Treepkg-commits mailing list