diff options
| author | mdietz <mdietz@openstack> | 2010-12-22 19:52:13 +0000 |
|---|---|---|
| committer | mdietz <mdietz@openstack> | 2010-12-22 19:52:13 +0000 |
| commit | 168cde072542f9f4df7e7eb26f6b632306c0b7d2 (patch) | |
| tree | 30105b5af3a209952c7860492a68e711ee4a5c53 /nova/api | |
| parent | e419c27a00a85b7daba42f580e332d31713ae271 (diff) | |
Finished moving the middleware layers and fixed the API tests again
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/auth.py | 2 |
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) |
