mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
pep8: Fix E122.
This commit is contained in:
@@ -88,14 +88,14 @@ def gather_hot_conversations(user_profile, stream_messages):
|
||||
|
||||
# We'll display up to 2 messages from the conversation.
|
||||
first_few_messages = [user_message.message for user_message in \
|
||||
stream_messages.filter(
|
||||
message__recipient__type_id=stream_id,
|
||||
message__subject=subject)[:2]]
|
||||
stream_messages.filter(
|
||||
message__recipient__type_id=stream_id,
|
||||
message__subject=subject)[:2]]
|
||||
|
||||
teaser_data = {"participants": users,
|
||||
"count": count - len(first_few_messages),
|
||||
"first_few_messages": build_message_list(user_profile,
|
||||
first_few_messages)}
|
||||
"first_few_messages": build_message_list(
|
||||
user_profile, first_few_messages)}
|
||||
|
||||
hot_conversation_render_payloads.append(teaser_data)
|
||||
return hot_conversation_render_payloads
|
||||
|
||||
Reference in New Issue
Block a user