Removes old, unused code

Change-Id: If48df4e7fb062bd6300a70569cb6be5ec310a28e
This commit is contained in:
David Stanek 2016-08-25 13:50:21 +00:00 committed by Steve Martinelli
parent 68e94ff979
commit 0845df270f
1 changed files with 0 additions and 8 deletions

View File

@ -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.