1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-05 20:58:42 +02:00

- fix error handling when the api request handle reports a generic error

This commit is contained in:
2012-01-24 11:51:22 +01:00
parent 4aa3463438
commit c356771449

View File

@@ -3492,8 +3492,8 @@ def create_submit_request(apiurl,
sys.exit('Unable to find defined OBS:MaintenanceProject project on server.')
tproject = project.get('name')
r = create_maintenance_request(apiurl, src_project, [src_package], tproject, src_update, message)
else:
raise
else:
raise
return r