mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
- print created submit request ID before handling supersedes
So it is printed even when something goes wrong with superseding (boo#966731)
This commit is contained in:
parent
6a69ecc137
commit
d4336dc19a
@ -1342,6 +1342,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
dst_project, dst_package,
|
||||
opts.message, orev=rev,
|
||||
src_update=src_update, dst_updatelink=opts.update_link)
|
||||
print('created request id', result)
|
||||
|
||||
if supersede_existing:
|
||||
for req in reqs:
|
||||
change_request_state(apiurl, req.reqid, 'superseded',
|
||||
@ -1351,8 +1353,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
change_request_state(apiurl, opts.supersede, 'superseded',
|
||||
opts.message or '', result)
|
||||
|
||||
print('created request id', result)
|
||||
|
||||
def _actionparser(self, opt_str, value, parser):
|
||||
value = []
|
||||
if not hasattr(parser.values, 'actiondata'):
|
||||
|
Loading…
Reference in New Issue
Block a user