Remove types.NoneType usage from the codebase.
Review Request #10200 — Created Oct. 7, 2018 and submitted — Latest diff uploaded
The WebHook code was checking values against
types.NoneType
, which
exists on Python 2 but not 3. To fix compatibility there, we now just
check if the values areNone
rather than checking forNoneType
.
Unit tests pass.
Imports succeed on Python 3.