Remove types.NoneType usage from the codebase.

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

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

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.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (b904a29)
Loading...