Commit 966405b7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

rapi: Don't throw class as an exception

Reviewed-by: ultrotter
parent a2f92677
......@@ -233,7 +233,7 @@ class R_2_instances_name_tags(baserlib.R_Generic):
"""
if 'tag' not in self.queryargs:
# no we not gonna delete all tags from an instance
raise http.HTTPNotImplemented
raise http.HTTPNotImplemented()
return baserlib._Tags_DELETE(constants.TAG_INSTANCE,
self.queryargs['tag'],
name=self.items[0])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment