diff options
author | drebs <drebs@leap.se> | 2012-12-03 14:56:36 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2012-12-03 15:07:34 -0200 |
commit | bb15b2eb975976c559d05d3bd8246811c0b666c6 (patch) | |
tree | 673c0cc956802f725f4cd08377b095ef2d76f77c | |
parent | 3ad9a5a9b6e86f4c40bf7781d1e6e284a570465a (diff) |
Fix get_auth parameters.
-rw-r--r-- | openstack.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openstack.py b/openstack.py index 514a4c58..9a8a6166 100644 --- a/openstack.py +++ b/openstack.py @@ -15,6 +15,7 @@ class OpenStackDatabase(CommonBackend): self.set_document_factory(LeapDocument) self._connection = swiftclient.Connection(self._auth_url, self._user, self._auth_key) + self._get_auth() #------------------------------------------------------------------------- # implemented methods from Database @@ -125,9 +126,7 @@ class OpenStackDatabase(CommonBackend): raise NotImplementedError(self._initialize) def _get_auth(self): - self._url, self._auth_token = self._connection.get_auth(self._auth_url, - self._user, - self._auth_key) + self._url, self._auth_token = self._connection.get_auth() return self._url, self.auth_token |