summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Hooker <matt@cloudscaling.com>2011-08-03 15:16:38 -0400
committerMatthew Hooker <matt@cloudscaling.com>2011-08-03 15:16:38 -0400
commita5add8b30c96ad1d83eebcd9756b0f358c9cb725 (patch)
tree2c3ba477d25ed7b9aa9829f2473497f17c77d7c6
parent6203ae5d5b285d62bd2c1bf1f2f11d3b64b53511 (diff)
follow convention when raising exceptions
-rw-r--r--nova/api/openstack/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/__init__.py b/nova/api/openstack/__init__.py
index 8d7f7a405..0af39c2df 100644
--- a/nova/api/openstack/__init__.py
+++ b/nova/api/openstack/__init__.py
@@ -82,7 +82,7 @@ class APIRouter(base_wsgi.Router):
super(APIRouter, self).__init__(mapper)
def _setup_routes(self, mapper):
- raise NotImplementedError("you must implement _setup_routes")
+ raise NotImplementedError(_("You must implement _setup_routes."))
def _setup_base_routes(self, mapper, version):
"""Routes common to all versions."""