[Buildroot] [PATCH 12/14] size-stats-compare: fix code style
thomas.petazzoni at bootlin.com
Tue Feb 13 07:51:34 UTC 2018
On Tue, 13 Feb 2018 01:28:31 -0200, Ricardo Martincoski wrote:
> ... This is present in other scripts and I missed that in v1. I plan to use it
> if you don't oppose to.
> if header != 'File name' or header != 'Package name' or \
> header != 'File size' or header != 'Package size':
> print(("Input file %s does not contain the expected header. Are you "
This version looks good to me. The parenthesis around the if condition
are useless in Python.
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
More information about the buildroot