mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Fix populate_db send_messages annotation.
This commit is contained in:
@@ -716,7 +716,7 @@ def restore_saved_messages():
|
|||||||
# - multiple messages per subject
|
# - multiple messages per subject
|
||||||
# - both single and multi-line content
|
# - both single and multi-line content
|
||||||
def send_messages(data):
|
def send_messages(data):
|
||||||
# type: ignore # Should be (Tuple[int, List[UserProfile], Dict[str, Any], Any]) -> int
|
# type: (Tuple[int, List[List[UserProfile]], Dict[str, Any], Any]) -> int
|
||||||
(tot_messages, personals_pairs, options, output) = data
|
(tot_messages, personals_pairs, options, output) = data
|
||||||
random.seed(os.getpid())
|
random.seed(os.getpid())
|
||||||
texts = open("zilencer/management/commands/test_messages.txt", "r").readlines()
|
texts = open("zilencer/management/commands/test_messages.txt", "r").readlines()
|
||||||
|
|||||||
Reference in New Issue
Block a user