Add new deprecation warning classes specific to Review Board.

Review Request #10261 — Created Oct. 22, 2018 and submitted

Information

Review Board
release-3.0.x
8f03ac4...

Reviewers

This introduces a new reviewboard.deprecation module, which defines a
base class for deprecation warnings
(BaseRemovedInReviewBoardVersionWarning), a RB4-specific subclass
(RemovedInReviewBoard40Warning), and a stable alias representing the
upcoming version (RemovedInNextReviewBoardVersionWarning).

All current uses of DeprecationWarning have been updated to use these
instead, and all old deprecation warnings have been given new life
through the remainder of 3.0. In 4.0, the deprecated functionality will
be removed.

Unit tests pass.

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

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (6a3dd5a)
Loading...