Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

migrations: Remove an unnecessary list.

Alex Vandiver3e90a5cdc0ba
diff --git a/zerver/migrations/0371_invalid_characters_in_topics.py b/zerver/migrations/0371_invalid_characters_in_topics.py
index 991ca9539e8..ec12e9e5b41 100644
--- a/zerver/migrations/0371_invalid_characters_in_topics.py
+++ b/zerver/migrations/0371_invalid_characters_in_topics.py
@@ -43,7 +43,7 @@ def fix_topics(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None:
topics = [r[0] for r in results]
for topic in topics:
fixed_topic = "".join(
- [character for character in topic if character_is_printable(character)]
+ character for character in topic if character_is_printable(character)
)
if fixed_topic == topic:
continue