mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
create_submit_request: fix return value when falling back to create_maintenance_request
This commit is contained in:
parent
7b79298138
commit
4357c8fcd4
@ -3984,6 +3984,7 @@ def create_submit_request(apiurl,
|
||||
raise oscerr.APIError("Server did not define a default maintenance project, can't submit.")
|
||||
tproject = project.get('name')
|
||||
r = create_maintenance_request(apiurl, src_project, [src_package], tproject, dst_project, src_update, message)
|
||||
r = r.reqid
|
||||
else:
|
||||
raise
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user