mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
- unbreak maintenance request creation
This commit is contained in:
parent
b46d287570
commit
4c970f867b
@ -3485,7 +3485,7 @@ def create_release_request(apiurl, src_project, message=''):
|
||||
def create_maintenance_request(apiurl, src_project, tgt_project, message=''):
|
||||
import cgi
|
||||
r = Request()
|
||||
r.add_action('maintenance_incident', src_project=src_project, src_package='foo', tgt_project=tgt_project)
|
||||
r.add_action('maintenance_incident', src_project=src_project, tgt_project=tgt_project)
|
||||
# XXX: clarify why we need the unicode(...) stuff
|
||||
r.description = cgi.escape(unicode(message, 'utf8'))
|
||||
r.create(apiurl)
|
||||
|
Loading…
Reference in New Issue
Block a user