mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 18:46:17 +01:00
- use correct states
This commit is contained in:
parent
a8d8565442
commit
80b349cb47
@ -4643,7 +4643,7 @@ def request_interactive_review(apiurl, request):
|
||||
print >>sys.stderr, 'Aborting'
|
||||
sys.exit(1)
|
||||
else:
|
||||
state_map = {'a': 'accepted', 'd': 'decline', 'r': 'revoke'}
|
||||
state_map = {'a': 'accepted', 'd': 'declined', 'r': 'revoked'}
|
||||
mo = re.search('^([adr])(?:\s+-m\s+(.*))?$', repl)
|
||||
if mo is None:
|
||||
raise oscerr.WrongOptions('invalid choice: \'%s\'' % repl)
|
||||
|
Loading…
Reference in New Issue
Block a user