1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 18:26:15 +01:00

added default=[] for -r and -a options in all results commands

This commit is contained in:
Michal Vyskocil 2009-05-15 08:48:32 +00:00
parent e12100fc48
commit 4676bd6ddf

View File

@ -1755,9 +1755,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.option('-l', '--last-build', action='store_true',
help='show last build results (succeeded/failed/unknown)')
@cmdln.option('-r', '--repo', action='append',
@cmdln.option('-r', '--repo', action='append', default = [],
help='Show results only for specified repo(s)')
@cmdln.option('-a', '--arch', action='append',
@cmdln.option('-a', '--arch', action='append', default = [],
help='Show results only for specified architecture(s)')
def do_results_meta(self, subcmd, opts, *args):
"""${cmd_name}: Shows raw build results of a package
@ -1780,9 +1780,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.alias('r')
@cmdln.option('-l', '--last-build', action='store_true',
help='show last build results (succeeded/failed/unknown)')
@cmdln.option('-r', '--repo', action='append',
@cmdln.option('-r', '--repo', action='append', default = [],
help='Show results only for specified repo(s)')
@cmdln.option('-a', '--arch', action='append',
@cmdln.option('-a', '--arch', action='append', default = [],
help='Show results only for specified architecture(s)')
def do_results(self, subcmd, opts, *args):
"""${cmd_name}: Shows the build results of a package
@ -1802,9 +1802,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
@cmdln.option('-l', '--last-build', action='store_true',
help='show last build results (succeeded/failed/unknown)')
@cmdln.option('-r', '--repo', action='append',
@cmdln.option('-r', '--repo', action='append', default = [],
help='Show results only for specified repo(s)')
@cmdln.option('-a', '--arch', action='append',
@cmdln.option('-a', '--arch', action='append', default = [],
help='Show results only for specified architecture(s)')
def do_rresults(self, subcmd, opts, *args):
"""${cmd_name}: Shows the build results of a remote package