1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-22 21:16:16 +01:00

- support "review show <id>" (alias for "request show <id>")

This commit is contained in:
Marcus Huewe 2012-03-06 13:22:25 +01:00
parent effe3835ba
commit 65858bb6d3

View File

@ -1875,7 +1875,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if subcmd != 'review' and args[0] not in cmds:
raise oscerr.WrongArgs('Unknown request action %s. Choose one of %s.' \
% (args[0],', '.join(cmds)))
cmds = [ 'list', 'add', 'decline', 'accept', 'reopen', 'supersede' ]
cmds = ['show', 'list', 'add', 'decline', 'accept', 'reopen', 'supersede']
if subcmd == 'review' and args[0] not in cmds:
raise oscerr.WrongArgs('Unknown review action %s. Choose one of %s.' \
% (args[0],', '.join(cmds)))