1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

fixed 'osc rq list -a proj pack'; added 'osc my rq' to usage of osc rq

This commit is contained in:
Juergen Weigert 2010-09-21 19:44:34 +02:00
parent 68c7b57f66
commit eb295452ae

View File

@ -1605,6 +1605,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
osc review accept [-m TEXT] ID
osc review decline [-m TEXT] ID
osc review new [-m TEXT] ID # for setting a temporary comment without changing the state
osc my sr # for submit requests I made
osc my rq # for requests for my packages/projects
${cmd_option_list}
"""
@ -1710,7 +1712,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
state_list = ['all']
else:
for s in state_list:
if not s in states:
if not s in [states, 'all']:
raise oscerr.WrongArgs('Unknown state \'%s\', try one of %s' % (s, ','.join(states)))
if opts.mine:
who = conf.get_apiurl_usr(apiurl)