Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

digest: Fix the `_` used for an unused variable.

Prakhar Pratyush78a75ab28cd8
diff --git a/zerver/lib/digest.py b/zerver/lib/digest.py
index 348c3c6977b..af23e200f33 100644
--- a/zerver/lib/digest.py
+++ b/zerver/lib/digest.py
@@ -379,7 +379,7 @@ def bulk_get_digest_context(
def get_digest_context(user: UserProfile, cutoff: float) -> Dict[str, Any]:
- for _, context in bulk_get_digest_context([user], cutoff):
+ for ignored, context in bulk_get_digest_context([user], cutoff):
return context
raise AssertionError("Unreachable")