From: Ryan Jarvis Date: Sat, 19 Jan 2019 07:51:23 +0000 (-0800) Subject: Remove trailing semicolons X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f78b814d54b19233d5e3f7cfef3d30a7a5ac8d40;p=libsigrokdecode.git Remove trailing semicolons --- diff --git a/decoders/jtag_ejtag/pd.py b/decoders/jtag_ejtag/pd.py index e327e89..ceaa114 100644 --- a/decoders/jtag_ejtag/pd.py +++ b/decoders/jtag_ejtag/pd.py @@ -223,7 +223,7 @@ class Decoder(srd.Decoder): self.put(self.ss, self.es, self.out_ann, data) def put_at(self, ss: int, es: int, data): - self.put(ss, es, self.out_ann, data); + self.put(ss, es, self.out_ann, data) def start(self): self.out_ann = self.register(srd.OUTPUT_ANN) diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py index 489e58e..3943f98 100644 --- a/decoders/usb_packet/pd.py +++ b/decoders/usb_packet/pd.py @@ -147,7 +147,7 @@ def reverse_number(num, count): out = list(count * '0') for i in range(0, count): if num >> i & 1: - out[i] = '1'; + out[i] = '1' return int(''.join(out), 2) def calc_crc5(bitstr): diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py index 424117d..a99cfbe 100644 --- a/decoders/usb_signalling/pd.py +++ b/decoders/usb_signalling/pd.py @@ -193,7 +193,7 @@ class Decoder(srd.Decoder): self.put(s, e, self.out_ann, data) def set_new_target_samplenum(self): - self.samplepos += self.bitwidth; + self.samplepos += self.bitwidth self.samplenum_target = int(self.samplepos) self.samplenum_lastedge = self.samplenum_edge self.samplenum_edge = int(self.samplepos - (self.bitwidth / 2))