diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-10-12 19:02:00 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-10-12 19:05:32 +0200 |
commit | dcfb60a1658243c3130774fe00645e7fedb23211 (patch) | |
tree | 44fcec26013ac5c831654ea8d5f3cb4f16ded5e7 /decoders | |
parent | 4afe40462af650a0df1bfb7bd185ee666f2b30f0 (diff) | |
download | libsigrokdecode-dcfb60a1658243c3130774fe00645e7fedb23211.tar.gz libsigrokdecode-dcfb60a1658243c3130774fe00645e7fedb23211.zip |
swd: Drop unnecessary debug code.
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/swd/pd.py | 9 |
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. |