From 0b70d1355ed949c3f4bf1fa53290be57be7affc1 Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Tue, 14 Feb 2012 22:09:18 +0000 Subject: [PATCH] Remove unnecessary constructors for exceptions They are unnecessary and end up just adding extra code Change-Id: I1aa6e7be7640dfc0e5fb05a2d662fa42d2cd82c3 --- nova/scheduler/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/scheduler/api.py b/nova/scheduler/api.py index 9706a5d8..68d4c29e 100644 --- a/nova/scheduler/api.py +++ b/nova/scheduler/api.py @@ -259,7 +259,7 @@ class RedirectResult(exception.Error): def __init__(self, results): self.results = results super(RedirectResult, self).__init__( - message=_("Uncaught Zone redirection exception")) + _("Uncaught Zone redirection exception")) class reroute_compute(object):