From 16d2031b149ff67be83b5600bdf5ad561add312d Mon Sep 17 00:00:00 2001 From: Ryan Jarvis Date: Sat, 19 Jan 2019 00:05:07 -0800 Subject: Rename values that shadow built-in keywords --- decoders/spiflash/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/spiflash') diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index aecc2d3..bbdf3fb 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -473,8 +473,8 @@ class Decoder(srd.Decoder): self.putx([Ann.FIELD, ['%s ID: 0x%02x' % (d, miso)]]) if self.cmdstate == 6: - id = self.ids[1] if self.manufacturer_id_first else self.ids[0] - self.device_id = id + id_ = self.ids[1] if self.manufacturer_id_first else self.ids[0] + self.device_id = id_ self.es_cmd = self.es self.putc([Ann.REMS, self.cmd_vendor_dev_list()]) self.state = None -- cgit v1.2.3-70-g09d2