[Buildroot] [PATCH 2/2] support/run-tests: check for empty sequences in a pythonic way

Peter Korsgaard peter at korsgaard.com
Sun Feb 16 14:47:14 UTC 2020


>>>>> "yegorslists" == yegorslists  <yegorslists at googlemail.com> writes:

 > From: Yegor Yefremov <yegorslists at googlemail.com>
 > According to PEP8 empty sequences should be checked as booleans.

 > Fixes the following PEP8 warning:
 > Do not use `len(SEQUENCE)` to determine if a sequence is empty

 > Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list