Remove useless code

- There's no need to call parent init function since that's the default
  behaviour.
- The token attribute is nor used nor updated anywhere.

Change-Id: Ib0b2729a396a2d761931ce0e178c49c49814eb21
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou
2013-01-23 11:25:25 +01:00
parent 3dfb8437fc
commit ca348fe951
2 changed files with 0 additions and 4 deletions

View File

@@ -28,9 +28,6 @@ class AccessInfo(dict):
"""An object for encapsulating a raw authentication token from keystone
and helper methods for extracting useful values from that token."""
def __init__(self, *args, **kwargs):
dict.__init__(self, *args, **kwargs)
def will_expire_soon(self, stale_duration=None):
""" Determines if expiration is about to occur.

View File

@@ -66,7 +66,6 @@ class HTTPClient(object):
self.tenant_id = None
self.tenant_name = None
self.auth_url = None
self.token = None
self.auth_token = None
self.management_url = None
# if loading from a dictionary passed in via auth_ref,