Opened 3 years ago

Closed 3 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 Changed 3 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Parentheses are not required when raising an exception with no arguments

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