mirror of https://github.com/zulip/zulip.git
Fix populate_db send_messages annotation.
This commit is contained in:
parent
7c2c7fb31c
commit
f2320bf27f
|
@ -716,7 +716,7 @@ def restore_saved_messages():
|
|||
# - multiple messages per subject
|
||||
# - both single and multi-line content
|
||||
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
|
||||
random.seed(os.getpid())
|
||||
texts = open("zilencer/management/commands/test_messages.txt", "r").readlines()
|
||||
|
|
Loading…
Reference in New Issue