From 88354ad1fcb15d5d61894b781ad00a58da4b07ed Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Tue, 28 Jun 2016 23:59:00 +0530 Subject: [PATCH] zilencer's populate_db.py: Remove unnecessary cast to text_type. --- zilencer/management/commands/populate_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.py index 9989340b33..812c924960 100644 --- a/zilencer/management/commands/populate_db.py +++ b/zilencer/management/commands/populate_db.py @@ -360,7 +360,7 @@ def restore_saved_messages(): sender_email = old_message["sender_email"] - domain = text_type(split_email_to_domain(sender_email)) + domain = split_email_to_domain(sender_email) realm_set.add(domain) if old_message["sender_email"] not in email_set: