Clarify variable name in Keystone auth

This commit is contained in:
Joseph Schorr 2017-03-21 11:45:26 -04:00
parent 8c07f733eb
commit 1a31d98c44

View file

@ -149,9 +149,9 @@ class KeystoneV3Users(FederatedUsers):
return (None, err)
try:
group_member_iterator = self._get_admin_client().users.list(group=group_id)
user_info_iterator = self._get_admin_client().users.list(group=group_id)
def iterator():
for user in group_member_iterator:
for user in user_info_iterator:
yield (self._user_info(user), None)
return (iterator(), None)