Fix flake8

This commit is contained in:
sakisv
2021-09-09 17:13:59 +03:00
parent 9faa3d34e1
commit df739d6b94

View File

@@ -58,8 +58,8 @@ def check_event_is_authorised_to_be_sent(broadcast_event, provider):
def check_event_makes_sense_in_sequence(broadcast_event, provider): def check_event_makes_sense_in_sequence(broadcast_event, provider):
""" """
If any previous event hasn't sent yet for that provider, then we shouldn't send the current event. Instead, fail and If any previous event hasn't sent yet for that provider, then we shouldn't send the current event. Instead, fail and
raise a zendesk ticket - so that a notify team member can assess the state of the previous messages, and if necessary, can raise a zendesk ticket - so that a notify team member can assess the state of the previous messages, and if
replay the `send_broadcast_provider_message` task if the previous message has now been sent. necessary, can replay the `send_broadcast_provider_message` task if the previous message has now been sent.
Note: This is called before the new broadcast_provider_message is created. Note: This is called before the new broadcast_provider_message is created.