mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
Merge pull request #850 from lethliel/fix_issue_849
use sr_ids[0] for superseding
This commit is contained in:
commit
34563aa7b2
@ -1379,7 +1379,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