Opened 9 years ago

Closed 9 years ago

#18137 closed Bug (invalid)

Omitted parentheses in raising PermissionDenied

Reported by: Taha Jahangir Owned by: nobody
Component: contrib.auth Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It's seems parentheses omitted in raising PermissionDenied exception.

Current version: source:/django/trunk/django/contrib/auth/

Latest version: source:/django/trunk/django/contrib/auth/

Change History (1)

comment:1 Changed 9 years ago by Alex Gaynor

Resolution: invalid
Status: newclosed

Parentheses are not required when raising an exception with no arguments

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