pep8: Fix E303 violations.

This commit is contained in:
Sidhant Bhavnani
2016-12-02 16:18:11 +00:00
committed by Tim Abbott
parent 9f0383520c
commit 8c0c12c1d9
42 changed files with 1 additions and 68 deletions

View File

@@ -1479,7 +1479,6 @@ def notify_subscriptions_added(user_profile, sub_pairs, stream_emails, no_log=Fa
def get_peer_user_ids_for_stream_change(stream, altered_users, subscribed_users):
# type: (Stream, Iterable[UserProfile], Iterable[UserProfile]) -> Set[int]
'''
altered_users is a list of users that we are adding/removing
subscribed_users is the list of already subscribed users
@@ -1620,7 +1619,6 @@ def bulk_add_subscriptions(streams, users):
user_id=added_user.id)
send_event(event, peer_user_ids)
return ([(user_profile, stream) for (user_profile, recipient_id, stream) in new_subs] +
[(sub.user_profile, stream) for (sub, stream) in subs_to_activate],
already_subscribed)
@@ -2660,7 +2658,6 @@ def do_update_message(user_profile, message, subject, propagate_mode, content, r
event['subject_links'] = bugdown.subject_links(message.sender.realm.domain.lower(), subject)
edit_history_event["prev_subject"] = orig_subject
if propagate_mode in ["change_later", "change_all"]:
propagate_query = Q(recipient = message.recipient, subject = orig_subject)
# We only change messages up to 2 days in the past, to avoid hammering our