Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
futzu authored Jan 14, 2024
1 parent 9ef8eb3 commit 56b50b9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions threefive/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,16 +306,16 @@ def __init__(self):
self.utc_splice_time = None
self.event_id_compliance_flag = None

def _decode_event(self, bitbin):
"""
SpliceEvent._decode_event parses
self.splice_event_id and self.splice_event_cancel_indicator
and the new event_id_compliance_flag.
"""
self.splice_event_id = bitbin.as_int(32)
self.splice_event_cancel_indicator = bitbin.as_flag(1)
event_id_compliance_flag = bitbin.as_flag(1)
bitbin.forward(6)
def _decode_event(self, bitbin):
"""
SpliceEvent._decode_event parses
self.splice_event_id and self.splice_event_cancel_indicator
and the new event_id_compliance_flag.
"""
self.splice_event_id = bitbin.as_int(32)
self.splice_event_cancel_indicator = bitbin.as_flag(1)
self.event_id_compliance_flag = bitbin.as_flag(1)
bitbin.forward(6)

def decode(self, bitbin):
"""
Expand Down

0 comments on commit 56b50b9

Please sign in to comment.