mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
use sr_ids[0] for superseding
result is not assigned in the case of many packages per request
This commit is contained in:
parent
eaf50dd13d
commit
8085aa6012
@ -1329,7 +1329,7 @@ class Osc(cmdln.Cmdln):
|
||||
if len(myreqs) > 0:
|
||||
for req in myreqs:
|
||||
change_request_state(apiurl, str(req), 'superseded',
|
||||
'superseded by %s' % result, result)
|
||||
'superseded by %s' % sr_ids[0], sr_ids[0])
|
||||
|
||||
sys.exit('Successfully finished')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user