Skip to content
Commit ea31dc1c authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

support/run-tests: check for empty sequences in a pythonic way



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: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent dc43b918
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment