Always pass exc_info as a boolean.

Review Request #12055 — Created Feb. 12, 2022 and submitted

david
Review Board
release-5.0.x
reviewboard

The exc_info argument to logging methods is just checked for
truthiness, but it's more correct to pass it as a bool rather than
passing in 1. This change does that for all offending calls.

Ran unit tests.

Summary
Always pass exc_info as a boolean.
Description From Last Updated

F821 undefined name 'path'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

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

Status: Closed (submitted)

Change Summary:

Pushed to django-3.2 (2f43386)
Loading...