mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
populate_db: Refactor create_streams.
Remove unused field from stream_dict.
This commit is contained in:
parent
fbf48f7ec6
commit
ee9b59321c
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user