Forgot the .iteritems() here.
This commit is contained in:
parent
e6b8eab5fc
commit
a2c7e24745
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def get_fas_groupings(fas_credentials, lookup, **config):
|
|||
packager_id = None
|
||||
for user in mega_list:
|
||||
# This is the main check.
|
||||
for group_name, badge_id in lookup:
|
||||
for group_name, badge_id in lookup.iteritems():
|
||||
if any([group.name == group_name for group in user.memberships]):
|
||||
results[group_name] = results.get(group_name, []) + [user]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue