Skip to content
Commit c5c0654d authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

element.py: Simplify some conditions with `in (foo, bar)`



Where we have conditions of the form `var == foo or var == bar` it
can be simplified to `var in (foo, bar)` which pylint prefers.

Signed-off-by: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent 32323695
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment