diff options
| author | mbasnight <mbasnigh@rackspace.com> | 2012-02-24 20:04:39 -0600 |
|---|---|---|
| committer | mbasnight <mbasnigh@rackspace.com> | 2012-02-24 20:20:07 -0600 |
| commit | 2172e49e8359a62182f58d94d2a9c465a85d9a95 (patch) | |
| tree | 2a2866cae4277c6627e217f1f97a5a8c6fff69e8 /nova/api | |
| parent | 48c5a7f621a291f5e7075385c3bbbc8e1cac7574 (diff) | |
Fixes bug lp#940734 - Adding manager import so AuthMiddleware works
Change-Id: Ia4653daf02c14c41bab8e62f063e7673321073f4
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/auth.py b/nova/api/openstack/auth.py index c59d2a315..544b101d4 100644 --- a/nova/api/openstack/auth.py +++ b/nova/api/openstack/auth.py @@ -24,7 +24,7 @@ import webob.exc from nova.api.openstack import common from nova.api.openstack import wsgi -from nova import auth +from nova.auth import manager from nova import context from nova import exception from nova import flags @@ -78,7 +78,7 @@ class AuthMiddleware(base_wsgi.Middleware): if not db_driver: db_driver = FLAGS.db_driver self.db = utils.import_object(db_driver) - self.auth = auth.manager.AuthManager() + self.auth = manager.AuthManager() super(AuthMiddleware, self).__init__(application) @webob.dec.wsgify(RequestClass=wsgi.Request) |
