Removes old, unused code
Change-Id: If48df4e7fb062bd6300a70569cb6be5ec310a28e
This commit is contained in:
parent
68e94ff979
commit
0845df270f
|
@ -13,7 +13,6 @@
|
|||
from oslo_log import log
|
||||
from oslo_serialization import msgpackutils
|
||||
from oslo_utils import timeutils
|
||||
from six.moves import map
|
||||
|
||||
from keystone.common import cache
|
||||
from keystone.common import utils
|
||||
|
@ -126,13 +125,6 @@ class RevokeEvent(object):
|
|||
subsecond=True)
|
||||
return event
|
||||
|
||||
def key_for_name(self, name):
|
||||
return "%s=%s" % (name, getattr(self, name) or '*')
|
||||
|
||||
|
||||
def attr_keys(event):
|
||||
return list(map(event.key_for_name, _EVENT_NAMES))
|
||||
|
||||
|
||||
def is_revoked(events, token_data):
|
||||
"""Check if a token matches a revocation event.
|
||||
|
|
Loading…
Reference in New Issue