- self.putx([0, ['Message authentication code: '
- + (','.join(format(n, '#04x')
- for n in self.bytes[38:58])),
- 'MAC: '
- + (','.join(format(n, '#04x')
- for n in self.bytes[38:58])),
- ]])
+ mac = ','.join(format(n, '#04x') for n in self.bytes[38:58])
+ self.putx([0, ['Message authentication code: ' + mac,
+ 'MAC: ' + mac]])