From: Michael Hanselmann Date: Wed, 15 Oct 2008 10:13:01 +0000 (+0000) Subject: rapi: Don't throw class as an exception X-Git-Tag: v2.0.0beta1~483 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/966405b793faa4848ecfc2f63216e5fd7f64c8e4 rapi: Don't throw class as an exception Reviewed-by: ultrotter --- diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py index 5d65ce2..790839a 100644 --- a/lib/rapi/rlib2.py +++ b/lib/rapi/rlib2.py @@ -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])