delete_package.py: Fix command to add message
Without this it launches an editor to interactively specify the message which doesn't seem to work from inside the python script
This commit is contained in:
parent
fc9325ccf9
commit
784cd801cd
@ -21,7 +21,7 @@ def delete_package_from_workflow(name: str):
|
||||
|
||||
|
||||
def delete_package_from_project(name: str):
|
||||
p = subprocess.run(["osc", "rdelete", PROJECT, name], stdout=subprocess.PIPE)
|
||||
p = subprocess.run(["osc", "rdelete", PROJECT, name, "-m \"Deleted via delete_package.py\"" ], stdout=subprocess.PIPE)
|
||||
print(p.stdout)
|
||||
print(p.stderr)
|
||||
p.check_returncode()
|
||||
|
Loading…
Reference in New Issue
Block a user