Remove types.NoneType usage from the codebase.

Review Request #10200 — Created Oct. 7, 2018 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x
78549ac...

Reviewers

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 are None rather than checking for NoneType.

Unit tests pass.

Imports succeed on Python 3.