mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
add message param to delete call
This commit is contained in:
parent
588efa69fc
commit
0cdc695c21
@ -4571,6 +4571,8 @@ def delete_package(apiurl, prj, pac, force=False, msg=None):
|
||||
query = {}
|
||||
if force:
|
||||
query['force'] = "1"
|
||||
if msg:
|
||||
query['comment'] = msg
|
||||
u = makeurl(apiurl, ['source', prj, pac], query)
|
||||
http_DELETE(u)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user