mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-15 21:30:05 +02:00
fixed 'osc rq list -a proj pack'; added 'osc my rq' to usage of osc rq
This commit is contained in:
@@ -1605,6 +1605,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
osc review accept [-m TEXT] ID
|
osc review accept [-m TEXT] ID
|
||||||
osc review decline [-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 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}
|
${cmd_option_list}
|
||||||
"""
|
"""
|
||||||
@@ -1710,7 +1712,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
state_list = ['all']
|
state_list = ['all']
|
||||||
else:
|
else:
|
||||||
for s in state_list:
|
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)))
|
raise oscerr.WrongArgs('Unknown state \'%s\', try one of %s' % (s, ','.join(states)))
|
||||||
if opts.mine:
|
if opts.mine:
|
||||||
who = conf.get_apiurl_usr(apiurl)
|
who = conf.get_apiurl_usr(apiurl)
|
||||||
|
Reference in New Issue
Block a user