summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-03-24 18:09:13 +0000
committerTarmac <>2011-03-24 18:09:13 +0000
commit0797161b89531cc8d5fe29c208723f39bcbd8046 (patch)
treeed17dccd5b7238a6f51e5c9801372af7bc41e383 /nova/api
parenta1cb79c044d3ac36ed8f780a5e38ea716e532b74 (diff)
parente81622a6f878f758dc1c17b3a092eccbfef4881c (diff)
Pylint 'Undefined variable' E0602 error fixes.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/accounts.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/nova/api/openstack/accounts.py b/nova/api/openstack/accounts.py
index 2510ffb61..86066fa20 100644
--- a/nova/api/openstack/accounts.py
+++ b/nova/api/openstack/accounts.py
@@ -14,6 +14,7 @@
# under the License.
import common
+import webob.exc
from nova import exception
from nova import flags
@@ -51,10 +52,10 @@ class Controller(wsgi.Controller):
raise exception.NotAuthorized(_("Not admin user."))
def index(self, req):
- raise faults.Fault(exc.HTTPNotImplemented())
+ raise faults.Fault(webob.exc.HTTPNotImplemented())
def detail(self, req):
- raise faults.Fault(exc.HTTPNotImplemented())
+ raise faults.Fault(webob.exc.HTTPNotImplemented())
def show(self, req, id):
"""Return data about the given account id"""
@@ -69,7 +70,7 @@ class Controller(wsgi.Controller):
def create(self, req):
"""We use update with create-or-update semantics
because the id comes from an external source"""
- raise faults.Fault(exc.HTTPNotImplemented())
+ raise faults.Fault(webob.exc.HTTPNotImplemented())
def update(self, req, id):
"""This is really create or update."""