1
0
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:
Daniel Mach 2022-04-07 10:43:43 +02:00 committed by GitHub
commit 34563aa7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')