mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
python: Remove locally dead code.
These changes are all independent of each other; I just didn’t feel like making dozens of commits for them. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
9afe6d0829
commit
4206e5f00b
@@ -214,7 +214,7 @@ def generate_topic_history_from_db_rows(rows: List[Tuple[str, int]]) -> List[Dic
|
||||
canonical_topic_names[canonical_name] = (max_message_id, topic_name)
|
||||
|
||||
history = []
|
||||
for canonical_topic, (max_message_id, topic_name) in canonical_topic_names.items():
|
||||
for max_message_id, topic_name in canonical_topic_names.values():
|
||||
history.append(
|
||||
dict(name=topic_name, max_id=max_message_id),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user