From: Uwe Hermann Date: Mon, 8 Sep 2014 09:48:05 +0000 (+0200) Subject: rfm12: Drop debug printing. X-Git-Tag: libsigrokdecode-0.4.0~176 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4ef0ff313b3ac48d585f581593738c1a3e607f26;p=libsigrokdecode.git rfm12: Drop debug printing. Any errors during decoding should be handled by the PD state machine. --- diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index c4b5475..c82a898 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -18,7 +18,6 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -import traceback import sigrokdecode as srd class Decoder(srd.Decoder): @@ -489,10 +488,7 @@ class Decoder(srd.Decoder): self.row_pos = [0, 8, 8] - try: - self.handle_cmd(self.mosi_bytes, self.miso_bytes) - except: - traceback.print_exc() + self.handle_cmd(self.mosi_bytes, self.miso_bytes) self.mosi_bytes, self.miso_bytes = [], [] self.mosi_bits, self.miso_bits = [], []