populate_db: Remove potentially confusing parenthesis.

(imported from commit 9d4dd543f0787c4eae5f7c697b7edcab4cdc8a7c)
This commit is contained in:
Tim Abbott 2012-12-05 13:33:05 -05:00
parent a6f744a11f
commit 4d607c79f1
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ def restore_saved_messages():
users = {}
users_by_id = {}
for user_profile in UserProfile.objects.select_related().all():
users[(user_profile.user.email)] = user_profile
users[user_profile.user.email] = user_profile
users_by_id[user_profile.id] = user_profile
for recipient in Recipient.objects.filter(type=Recipient.PERSONAL):
user_recipients[users_by_id[recipient.type_id].user.email] = recipient