Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1185 closed defect (fixed)

__str_to_bool in modpython.py

Reported by: Brian Ray <bray@…> Owned by: Adrian Holovaty
Component: Tools Version: dev
Severity: major Keywords: modpython, tuple, authenhandler
Cc: bray@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Line 16 in modpython.py in authenhandler() should be:

    _str_to_bool = lambda s: s.lower() in ('1', 'true', 'on', 'yes')

Otherwise, calls on Python2.4 think this is a tuple.

Change History (2)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [1853]) Fixed #1185 -- Fixed Python 2.4 bug in Django authentication mod_python handler. Thanks, Brian Ray

comment:2 by Adrian Holovaty, 18 years ago

milestone: Version 0.91

Milestone Version 0.91 deleted

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