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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user