mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 03:02:12 +01:00
- removed debug output
Introduced in commit 76023d5643db78c7aba67256c8cb04a66449bac4.
This commit is contained in:
parent
569efcace8
commit
8d10a3f76f
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user