From 2824e81140d3a8e37464f758cf67f50f2f7afca7 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 23 Dec 2015 20:00:45 +0100 Subject: Use a Python list (not tuple) for OUT_BINARY. This is more consistent with annotation syntax and looks slightly better in most cases. --- decoders/usb_request/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/usb_request') diff --git a/decoders/usb_request/pd.py b/decoders/usb_request/pd.py index 61dedb1..fa2e674 100644 --- a/decoders/usb_request/pd.py +++ b/decoders/usb_request/pd.py @@ -242,7 +242,7 @@ class Decoder(srd.Decoder): def write_pcap_header(self): if not self.wrote_pcap_header: - self.put(0, 0, self.out_bin, (0, self.pcap_global_header())) + self.put(0, 0, self.out_bin, [0, self.pcap_global_header()]) self.wrote_pcap_header = True def request_summary(self, request): -- cgit v1.2.3-70-g09d2