python: Normalize quotes with Black.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-11 23:20:45 -08:00
committed by Tim Abbott
parent 11741543da
commit 6e4c3e41dc
989 changed files with 32792 additions and 32792 deletions

View File

@@ -6,7 +6,7 @@ from django.db.migrations.state import StateApps
def fix_bot_email_property(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None:
UserProfile = apps.get_model('zerver', 'UserProfile')
UserProfile = apps.get_model("zerver", "UserProfile")
for user_profile in UserProfile.objects.filter(is_bot=True):
if user_profile.email != user_profile.delivery_email:
user_profile.email = user_profile.delivery_email
@@ -16,7 +16,7 @@ def fix_bot_email_property(apps: StateApps, schema_editor: DatabaseSchemaEditor)
class Migration(migrations.Migration):
dependencies = [
('zerver', '0241_usermessage_bigint_id_migration_finalize'),
("zerver", "0241_usermessage_bigint_id_migration_finalize"),
]
operations = [