Skip to content
Commit 33d04b59 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 86972c79
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