1
0
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:
Ludwig Nussel 2012-02-17 09:13:40 +01:00
parent 588efa69fc
commit 0cdc695c21

View File

@ -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)