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:
parent
f760282ea4
commit
06bf885524
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user