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:
Tim Abbott 2013-06-24 14:34:45 -04:00
parent 3bf748f9fb
commit 05596740ad

View file

@ -41,5 +41,5 @@ parser.add_option_group(humbug.generate_option_group(parser))
client = humbug.init_from_options(options)
for name, email in client.get_members()["members"]:
print name, email
for user in client.get_members()["members"]:
print user["full_name"], user["email"]