Skip to content

Commit

Permalink
FIX: Always return 2-tuple from _skip_to_earliest_waiting_event
Browse files Browse the repository at this point in the history
skipci
  • Loading branch information
cortadocodes committed Jun 26, 2024
1 parent 1b5dc3c commit 6764312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octue/cloud/events/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _skip_to_earliest_waiting_event(self):
try:
event, attributes = self.waiting_events.pop(self._earliest_waiting_event_number)
except KeyError:
return
return None, None

number_of_missing_events = self._earliest_waiting_event_number - self._previous_event_number - 1

Expand Down

0 comments on commit 6764312

Please sign in to comment.