diff --git a/osi3trace/osi_trace.py b/osi3trace/osi_trace.py index 49453c660..3963cb48a 100644 --- a/osi3trace/osi_trace.py +++ b/osi3trace/osi_trace.py @@ -54,8 +54,8 @@ def retrieve_offsets(self, limit=None): if not self.read_complete: self.current_index = len(self.message_offsets) - 1 self.file.seek(self.message_offsets[-1], 0) - while ( - not self.read_complete and not limit or len(self.message_offsets) <= limit + while not self.read_complete and ( + not limit or len(self.message_offsets) <= limit ): self.retrieve_message(skip=True) return self.message_offsets