Fix banish_broken tool.

(imported from commit 505c4a86ab106abab4c36af7c5f67c955f143c1d)
This commit is contained in:
Tim Abbott 2012-11-14 15:37:04 -05:00
parent 834c812a14
commit 4198dc74f1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def banish_busted_users(change=False):
print u.user.email print u.user.email
if change: if change:
u.realm = banished_realm u.realm = banished_realm
u.user.email = u.user.email.split("@")[0] + "@" + banished_realm u.user.email = u.user.email.split("@")[0] + "@" + banished_realm.domain
u.user.save() u.user.save()
u.save() u.save()