1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

- removed debug output

Introduced in commit 76023d5643.
This commit is contained in:
Marcus Huewe 2015-07-15 20:01:32 +02:00
parent 569efcace8
commit 8d10a3f76f

View File

@ -3988,12 +3988,10 @@ def create_submit_request(apiurl,
u = makeurl(apiurl, ['request'], query='cmd=create')
r = None
try:
print("TRY")
f = http_POST(u, data=xml)
root = ET.parse(f).getroot()
r = root.get('id')
except HTTPError as e:
print("except")
if e.hdrs.get('X-Opensuse-Errorcode') == "submit_request_rejected":
print("WARNING:")
print("WARNING: Project does not accept submit request, request to open a NEW maintenance incident instead")