[2254] minor (unrelated) style fix: make lhs and rhs around == more reasonable.
per guideline. also, there shouldn't have been a reason for using the
unreadable version in python in the first place, because statement like
'if x = 0:' would result in a syntax error.