diff options
| author | mdietz <mdietz@openstack> | 2010-09-22 18:46:55 +0000 |
|---|---|---|
| committer | mdietz <mdietz@openstack> | 2010-09-22 18:46:55 +0000 |
| commit | a8c5901faaa98b7f0c06db086a03a0d38a210986 (patch) | |
| tree | b3f8af8ef67d6d6d4a4eccac4481f95e97ae7c3c /nova/api | |
| parent | d3e090f15df793518db274b9834a17de78f765ff (diff) | |
Added a primary_key to AuthToken, fixed some unbound variables, and now all unit tests pass
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/rackspace/auth.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nova/api/rackspace/auth.py b/nova/api/rackspace/auth.py index 1ef90c324..ce5a967eb 100644 --- a/nova/api/rackspace/auth.py +++ b/nova/api/rackspace/auth.py @@ -8,6 +8,9 @@ from nova import flags from nova import auth from nova import manager from nova import db +from nova import utils + +FLAGS = flags.FLAGS class Context(object): pass @@ -15,7 +18,7 @@ class Context(object): class BasicApiAuthManager(object): """ Implements a somewhat rudimentary version of Rackspace Auth""" - def __init__(self): + def __init__(self, host=None, db_driver=None): if not host: host = FLAGS.host self.host = host |
