Opened 13 years ago

Closed 13 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

Description

It's seems parentheses omitted in raising PermissionDenied exception.

Current version: source:/django/trunk/django/contrib/auth/admin.py@17474#L105

Latest version: source:/django/trunk/django/contrib/auth/admin.py#L105

Change History (1)

comment:1 by Alex Gaynor, 13 years ago

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