1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-24 13:56:13 +01:00

- do not crash when not creating incident request (#745842)

This commit is contained in:
Adrian Schröter 2012-02-08 15:56:03 +01:00
parent f760282ea4
commit 06bf885524

View File

@ -3479,6 +3479,7 @@ def create_submit_request(apiurl,
# I guess, my original workaround was not that bad.
u = makeurl(apiurl, ['request'], query='cmd=create')
r = None
try:
f = http_POST(u, data=xml)
root = ET.parse(f).getroot()