Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10997 closed (fixed)

Admin backend uses `set` without the Python 2.3 fallback

Reported by: anonymous Owned by: Joey Wilhelm
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

in line 38 of admin.actions.py:

perms_needed = set()

it gets error:

global name 'set' is not defined

with python 2.3.4

Attachments (1)

10997.diff (546 bytes) - added by Joey Wilhelm 8 years ago.
Simple enough patch. Shouldn't be any docs/tests required. Pulled this straight from options.py

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by anonymous

Owner: changed from nobody to anonymous
Status: newassigned

comment:2 Changed 8 years ago by anonymous

Owner: anonymous deleted
Status: assignednew

Changed 8 years ago by Joey Wilhelm

Attachment: 10997.diff added

Simple enough patch. Shouldn't be any docs/tests required. Pulled this straight from options.py

comment:3 Changed 8 years ago by Joey Wilhelm

Has patch: set

comment:4 Changed 8 years ago by Joey Wilhelm

Owner: set to Joey Wilhelm
Status: newassigned

Not that I want to make the 1.1 bug list any bigger, but should this be on there?

comment:5 Changed 8 years ago by Russell Keith-Magee

milestone: 1.1

comment:6 Changed 8 years ago by Alex Gaynor

Triage Stage: UnreviewedReady for checkin

comment:7 Changed 8 years ago by Alex Gaynor

Resolution: fixed
Status: assignedclosed

Fixed in r10705.

comment:8 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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