Opened 15 years ago

Closed 15 years ago

Last modified 12 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: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 15 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 by anonymous, 15 years ago

Owner: changed from nobody to anonymous
Status: newassigned

comment:2 by anonymous, 15 years ago

Owner: anonymous removed
Status: assignednew

by Joey Wilhelm, 15 years ago

Attachment: 10997.diff added

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

comment:3 by Joey Wilhelm, 15 years ago

Has patch: set

comment:4 by Joey Wilhelm, 15 years ago

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 by Russell Keith-Magee, 15 years ago

milestone: 1.1

comment:6 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedReady for checkin

comment:7 by Alex Gaynor, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r10705.

comment:8 by Jacob, 12 years ago

milestone: 1.1

Milestone 1.1 deleted

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