Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/computersalat/osc
Browse files Browse the repository at this point in the history
Improve warning in create_submit_request.
  • Loading branch information
marcus-h committed Dec 14, 2017
2 parents d79eb25 + 26f00c6 commit 5d3cc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d3cc74

Please sign in to comment.