1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-10-05 08:59:19 +02:00

- "osc review": only show new reviews if by_user, by_group etc. is specified

The current implementation is so ugly...
This commit is contained in:
Marcus Huewe
2012-04-03 19:19:54 +02:00
parent 8df38af7e3
commit e65bd21c3b
2 changed files with 21 additions and 5 deletions

View File

@@ -1973,7 +1973,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.all:
state_list = ['all']
if subcmd == 'review':
state_list = ['review']
# is there a special reason why we do not respect the passed states?
state_list = ['new']
elif opts.state == 'all':
state_list = ['all']
else: