1
0
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:
Marcus Hüwe 2008-04-10 21:04:17 +00:00
parent 80ab6bf345
commit e9176c7513

View File

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