mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 09:56:13 +01:00
- fixed bug #378752 (osc fails to delete patterns)
This commit is contained in:
parent
80ab6bf345
commit
e9176c7513
@ -347,6 +347,7 @@ class Osc(cmdln.Cmdln):
|
||||
if cmd == 'pattern':
|
||||
path = path % (project, pattern)
|
||||
u = makeurl(conf.config['apiurl'], [path])
|
||||
http_DELETE(u)
|
||||
else:
|
||||
sys.exit('The --delete switch is only for pattern metadata.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user