Line length
Swap comparison order in `or`

Compare to None first due to this `python2 -3` warning:
DeprecationWarning: comparing unequal types not supported in 3.x