Opened 6 years ago

Closed 6 years ago

#15635 closed (fixed)

New-style raise in documentation

Reported by: Daniel Duan Owned by: Daniel Duan
Component: Uncategorized Version: master
Severity: Keywords: PEP8
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This is a follow-up patch to ticket #15609. It fixes the raise style in the documentation as well as an appearance in /django/utils/unittest/case.py

Attachments (2)

new_style_raise_in_docs.patch (6.4 KB) - added by Daniel Duan 6 years ago.
3rd_style_patch.patch (1.9 KB) - added by Daniel Duan 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by Daniel Duan

comment:1 Changed 6 years ago by Ramiro Morales

In [15874]:

Changed 'raise' statements to new style syntax in documentation. Thanks DaNmarner. Refs #15635.

comment:2 Changed 6 years ago by Daniel Duan

Resolution: fixed
Status: newclosed

comment:3 Changed 6 years ago by Daniel Duan

Resolution: fixed
Status: closedreopened

Changed 6 years ago by Daniel Duan

Attachment: 3rd_style_patch.patch added

comment:4 Changed 6 years ago by Daniel Duan

Status: reopenednew

Either my regex skill or Emacs failed me. Anyway, I found two more of these old style raise.

comment:5 Changed 6 years ago by Julien Phalip

Triage Stage: UnreviewedReady for checkin

3rd_style_patch.patch is the patch to apply.

comment:6 Changed 6 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

In [15917]:

Fixed #15635 -- Converted two legacy old-style raise statements. Thanks, DaNmarner

Note: See TracTickets for help on using tickets.
Back to Top