mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +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
|
||||
# - 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()
|
||||
|
||||
Reference in New Issue
Block a user