1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

Merge pull request #135 from andreas-schwab/master

create_submit_request: fix return value when falling back to create_main...
This commit is contained in:
Adrian Schröter 2015-04-08 10:29:52 +02:00
commit 1a58102139

View File

@ -4001,6 +4001,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