summaryrefslogtreecommitdiffstats
path: root/keystone/auth
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-05-23 11:34:35 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2013-05-23 17:02:46 -0500
commit71c6a4b88279ddf9047595fb4c1ffbce4062621d (patch)
treea5f64884ddfd559d6b968732122956a1c041801a /keystone/auth
parentb1f663617aea75075fc9e3f76a1ffa2a1eb3cd42 (diff)
downloadkeystone-71c6a4b88279ddf9047595fb4c1ffbce4062621d.tar.gz
keystone-71c6a4b88279ddf9047595fb4c1ffbce4062621d.tar.xz
keystone-71c6a4b88279ddf9047595fb4c1ffbce4062621d.zip
Use TODO(NAME) (flake8 H101)
Change-Id: Ic47bdd61d9818f203a88ae16f97c2b61b1c1bd8c
Diffstat (limited to 'keystone/auth')
-rw-r--r--keystone/auth/controllers.py2
-rw-r--r--keystone/auth/plugins/password.py2
-rw-r--r--keystone/auth/token_factory.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/keystone/auth/controllers.py b/keystone/auth/controllers.py
index 0cb070bc..f643cf27 100644
--- a/keystone/auth/controllers.py
+++ b/keystone/auth/controllers.py
@@ -187,7 +187,7 @@ class AuthInfo(object):
raise exception.Forbidden('Trusts are disabled.')
trust_ref = self._lookup_trust(
self.auth['scope']['OS-TRUST:trust'])
- #TODO ayoung when trusts support domain, Fill in domain data here
+ # TODO(ayoung): when trusts support domains, fill in domain data
if 'project_id' in trust_ref:
project_ref = self._lookup_project(
{'id': trust_ref['project_id']})
diff --git a/keystone/auth/plugins/password.py b/keystone/auth/plugins/password.py
index d5043611..662cca07 100644
--- a/keystone/auth/plugins/password.py
+++ b/keystone/auth/plugins/password.py
@@ -107,7 +107,7 @@ class Password(auth.AuthMethodHandler):
""" Try to authenticate against the identity backend. """
user_info = UserAuthInfo(context, auth_payload)
- # FIXME: identity.authenticate() can use some refactoring since
+ # FIXME(gyee): identity.authenticate() can use some refactoring since
# all we care is password matches
self.identity_api.authenticate(
context=context,
diff --git a/keystone/auth/token_factory.py b/keystone/auth/token_factory.py
index a67c973a..37c9f1ed 100644
--- a/keystone/auth/token_factory.py
+++ b/keystone/auth/token_factory.py
@@ -178,11 +178,11 @@ class TokenDataHelper(object):
try:
service_catalog = self.catalog_api.get_v3_catalog(
self.context, user_id, project_id)
- #TODO KVS backend needs a sample implementation
+ # TODO(ayoung): KVS backend needs a sample implementation
except exception.NotImplemented:
service_catalog = {}
# TODO(gyee): v3 service catalog is not quite completed yet
- #TODO Enforce Endpoints for trust
+ # TODO(ayoung): Enforce Endpoints for trust
token_data['catalog'] = service_catalog
def _populate_token(self, token_data, expires=None, trust=None):