From 966405b793faa4848ecfc2f63216e5fd7f64c8e4 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Wed, 15 Oct 2008 10:13:01 +0000
Subject: [PATCH] rapi: Don't throw class as an exception

Reviewed-by: ultrotter
---
 lib/rapi/rlib2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py
index 5d65ce2d1..790839a70 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])
-- 
GitLab