[Treepkg-commits] r375 - branches/treepkg-status/bin

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 26 11:42:07 CEST 2010


Author: bricks
Date: 2010-07-26 11:42:07 +0200 (Mon, 26 Jul 2010)
New Revision: 375

Modified:
   branches/treepkg-status/bin/treepkginfo.py
Log:
fixed some typos


Modified: branches/treepkg-status/bin/treepkginfo.py
===================================================================
--- branches/treepkg-status/bin/treepkginfo.py	2010-07-26 08:28:48 UTC (rev 374)
+++ branches/treepkg-status/bin/treepkginfo.py	2010-07-26 09:42:07 UTC (rev 375)
@@ -20,7 +20,7 @@
     parser.add_option("--newest", type="int",
                       help=("Number of newest revisions to list."))
     parser.add_option("--only-successful", action="store_true",
-                      help=("Show only successful builds", dest="success"))
+                      help=("Show only successful builds"), dest="success")
     parser.add_option("--pretty", action="store_true", help=("Show XML pretty"
                       " output."))
  
@@ -31,7 +31,7 @@
     options, args = parse_commandline()
 
     tpkginfo = status.TreepkgInfo(options.config_file, options.newest,
-                                  option.success)
+                                  options.success)
 
     if options.pretty:
         print tpkginfo.toxml().toprettyxml()



More information about the Treepkg-commits mailing list