changeset 415:2d31eea39f70 treepkg-status

fixed some typos
author Bjoern Ricks <bricks@intevation.de>
date Mon, 26 Jul 2010 09:42:07 +0000
parents e0539b483b04
children 4980f8d5014a
files bin/treepkginfo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/treepkginfo.py	Mon Jul 26 08:28:48 2010 +0000
+++ b/bin/treepkginfo.py	Mon Jul 26 09:42:07 2010 +0000
@@ -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()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)