mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06:15 +01:00
change WARNING message for better understanding
This commit is contained in:
parent
d79eb2580b
commit
26f00c6749
@ -4182,7 +4182,7 @@ def create_submit_request(apiurl,
|
||||
except HTTPError as e:
|
||||
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")
|
||||
print("WARNING: Project does not accept submit request, a NEW maintenance incident request will be created instead")
|
||||
print("WARNING:")
|
||||
xpath = 'maintenance/maintains/@project = \'%s\' and attribute/@name = \'%s\'' % (dst_project, conf.config['maintenance_attribute'])
|
||||
res = search(apiurl, project_id=xpath)
|
||||
|
Loading…
Reference in New Issue
Block a user