summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authormdietz <mdietz@openstack>2010-12-22 19:52:13 +0000
committermdietz <mdietz@openstack>2010-12-22 19:52:13 +0000
commit168cde072542f9f4df7e7eb26f6b632306c0b7d2 (patch)
tree30105b5af3a209952c7860492a68e711ee4a5c53 /nova/api
parente419c27a00a85b7daba42f580e332d31713ae271 (diff)
Finished moving the middleware layers and fixed the API tests again
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/auth.py b/nova/api/openstack/auth.py
index 6c3c870a1..99cae2c75 100644
--- a/nova/api/openstack/auth.py
+++ b/nova/api/openstack/auth.py
@@ -20,7 +20,7 @@ FLAGS = flags.FLAGS
class AuthMiddleware(wsgi.Middleware):
"""Authorize the openstack API request or return an HTTP Forbidden."""
- def __init__(self, application):
+ def __init__(self, application, db_driver=None):
if not db_driver:
db_driver = FLAGS.db_driver
self.db = utils.import_object(db_driver)