Deprecate the type argument of review request signals

Review Request #8896 - Created April 12, 2017 and submitted

Barret Rennie
Review Board
release-3.0.x
8895
8897
reviewboard

This patch deprecates the type argument of the review_request_closed
and review_request_closing signals, due to shadowing the type
builtin. We still provide the type argument, but it is wrapped in a
lazy object that will emit a warning when casted to a unicode string. We
now include the close_type argument which takes the place of the old
type argument. Usages and unit tests have been updated for this new
behaviour.

Ran unit tests.

  • 0
  • 0
  • 7
  • 1
  • 8
Description From Last Updated
Barret Rennie
Barret Rennie
Barret Rennie
David Trowbridge
Barret Rennie
Christian Hammond
Barret Rennie
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (9a02c1e)
Loading...