summaryrefslogtreecommitdiff
path: root/keystonemiddleware
diff options
context:
space:
mode:
Diffstat (limited to 'keystonemiddleware')
-rw-r--r--keystonemiddleware/auth_token/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/keystonemiddleware/auth_token/__init__.py b/keystonemiddleware/auth_token/__init__.py
index de37aef..72ba223 100644
--- a/keystonemiddleware/auth_token/__init__.py
+++ b/keystonemiddleware/auth_token/__init__.py
@@ -374,9 +374,9 @@ class BaseAuthProtocol(object):
check = self._service_token_roles.intersection(role_names)
role_check_passed = bool(check)
- # if service_token_role_required then the service token is only
- # valid if the roles check out. Otherwise at this point it is
- # true because keystone has already validated it.
+ # if service_token_roles_required then the service token is
+ # only valid if the roles check out. Otherwise at this point it
+ # is true because keystone has already validated it.
if self._service_token_roles_required:
request.service_token_valid = role_check_passed
else: