1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

create_submit_request: fix return value when falling back to create_maintenance_request

This commit is contained in:
Andreas Schwab 2015-02-09 16:44:09 +01:00
parent 7b79298138
commit 4357c8fcd4

View File

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