# HG changeset patch # User Bjoern Ricks # Date 1280137327 0 # Node ID 2d31eea39f70ef8ad9c4eb2d3391660affc42068 # Parent e0539b483b04da65437bf9669e70589c2d843126 fixed some typos diff -r e0539b483b04 -r 2d31eea39f70 bin/treepkginfo.py --- 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()