From f2320bf27faaa4c4b7da74619af936c4f1762ef3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 4 Jun 2016 16:04:02 -0700 Subject: [PATCH] Fix populate_db send_messages annotation. --- zilencer/management/commands/populate_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.py index e55e398b3b..a20c63e9af 100644 --- a/zilencer/management/commands/populate_db.py +++ b/zilencer/management/commands/populate_db.py @@ -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()