mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
populate_db: Refactor create_streams.
Remove unused field from stream_dict.
This commit is contained in:
@@ -40,7 +40,6 @@ def create_streams(realm, stream_dict):
|
||||
# type: (Realm, Dict[Text, Dict[Text, Any]]) -> None
|
||||
stream_dictionary = {
|
||||
name: {
|
||||
"realm": realm,
|
||||
"description": options["description"],
|
||||
"invite_only": options["invite_only"],
|
||||
} for name, options in stream_dict.items()
|
||||
|
||||
Reference in New Issue
Block a user