API get_members: Return a dictionary of users, not a list of tuples.
I believe this should require no special work on deploy, since some grepping of logs suggests we are not currently using this API query. (imported from commit 240086f900c6680cbc90bf6a2f334a9e1f172df6)
This commit is contained in:
parent
3bf748f9fb
commit
05596740ad
|
@ -41,5 +41,5 @@ parser.add_option_group(humbug.generate_option_group(parser))
|
||||||
|
|
||||||
client = humbug.init_from_options(options)
|
client = humbug.init_from_options(options)
|
||||||
|
|
||||||
for name, email in client.get_members()["members"]:
|
for user in client.get_members()["members"]:
|
||||||
print name, email
|
print user["full_name"], user["email"]
|
||||||
|
|
Loading…
Reference in a new issue