diff options
| author | Matthew Hooker <matt@cloudscaling.com> | 2011-08-03 15:16:38 -0400 |
|---|---|---|
| committer | Matthew Hooker <matt@cloudscaling.com> | 2011-08-03 15:16:38 -0400 |
| commit | a5add8b30c96ad1d83eebcd9756b0f358c9cb725 (patch) | |
| tree | 2c3ba477d25ed7b9aa9829f2473497f17c77d7c6 | |
| parent | 6203ae5d5b285d62bd2c1bf1f2f11d3b64b53511 (diff) | |
follow convention when raising exceptions
| -rw-r--r-- | nova/api/openstack/__init__.py | 2 |
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.""" |
