summaryrefslogtreecommitdiff
path: root/keystoneclient/access.py
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2013-01-23 11:25:25 +0100
committerJulien Danjou <julien@danjou.info>2013-01-23 15:15:30 +0100
commitca348fe951ec5b78d4499b7c6b82b5531cfc9e39 (patch)
tree95e9a95e3d6c9dde4c7dc0aec1a15137bcc827cf /keystoneclient/access.py
parent3dfb8437fc9135465f2b66b2c420bf20899fcf10 (diff)
downloadpython-keystoneclient-ca348fe951ec5b78d4499b7c6b82b5531cfc9e39.tar.gz
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>
Diffstat (limited to 'keystoneclient/access.py')
-rw-r--r--keystoneclient/access.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/keystoneclient/access.py b/keystoneclient/access.py
index 3947b6f..c17ee2e 100644
--- a/keystoneclient/access.py
+++ b/keystoneclient/access.py
@@ -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.