mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-25 22:36:13 +01:00
- syntax fix
This commit is contained in:
parent
a3c23a575c
commit
d53278d94d
@ -3963,7 +3963,7 @@ def create_submit_request(apiurl,
|
|||||||
print("WARNING:")
|
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, request to open a NEW maintenance incident instead")
|
||||||
print("WARNING:")
|
print("WARNING:")
|
||||||
xpath = 'maintenance/maintains/@project = \'%s\' and attribute/@name = \'%s\'' % dst_project, conf.config['maintenance_attribute']
|
xpath = 'maintenance/maintains/@project = \'%s\' and attribute/@name = \'%s\'' % (dst_project, conf.config['maintenance_attribute'])
|
||||||
res = search(apiurl, project_id=xpath)
|
res = search(apiurl, project_id=xpath)
|
||||||
root = res['project_id']
|
root = res['project_id']
|
||||||
project = root.find('project')
|
project = root.find('project')
|
||||||
|
Loading…
Reference in New Issue
Block a user