Merge "Clean StatsController unnecesary members"

This commit is contained in:
Jenkins 2014-02-18 14:59:54 +00:00 committed by Gerrit Code Review
commit 29ffdcff49
1 changed files with 0 additions and 6 deletions

View File

@ -17,11 +17,8 @@ from keystone.common import manager
from keystone.common import wsgi from keystone.common import wsgi
from keystone import config from keystone import config
from keystone import exception from keystone import exception
from keystone import identity
from keystone.openstack.common import log from keystone.openstack.common import log
from keystone.openstack.common import versionutils from keystone.openstack.common import versionutils
from keystone import policy
from keystone import token
CONF = config.CONF CONF = config.CONF
@ -93,10 +90,7 @@ class StatsExtension(wsgi.ExtensionRouter):
class StatsController(wsgi.Application): class StatsController(wsgi.Application):
def __init__(self): def __init__(self):
self.identity_api = identity.Manager()
self.policy_api = policy.Manager()
self.stats_api = Manager() self.stats_api = Manager()
self.token_api = token.Manager()
super(StatsController, self).__init__() super(StatsController, self).__init__()
def get_stats(self, context): def get_stats(self, context):