mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 10:06:17 +01:00
oops, that was perl syntax ...
This commit is contained in:
parent
eb295452ae
commit
e8859a6a74
@ -1712,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, 'all']:
|
||||
if not s in states and not s == 'all':
|
||||
raise oscerr.WrongArgs('Unknown state \'%s\', try one of %s' % (s, ','.join(states)))
|
||||
if opts.mine:
|
||||
who = conf.get_apiurl_usr(apiurl)
|
||||
|
Loading…
Reference in New Issue
Block a user