summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoders/swd/pd.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/decoders/swd/pd.py b/decoders/swd/pd.py
index 4e68f2d..f2abf1f 100644
--- a/decoders/swd/pd.py
+++ b/decoders/swd/pd.py
@@ -19,7 +19,7 @@
##
import sigrokdecode as srd
-import re, traceback
+import re
'''
OUTPUT_PYTHON format:
@@ -143,13 +143,6 @@ class Decoder(srd.Decoder):
self.putp(ptype, (self.addr, self.data, self.ack))
def decode(self, ss, es, data):
- try:
- return self._decode(ss, es, data)
- except:
- traceback.print_exc()
- raise
-
- def _decode(self, ss, es, data):
for (self.samplenum, (clk, dio)) in data:
if clk == self.oldclk:
continue # Not a clock edge.