#1185 closed defect (fixed)
__str_to_bool in modpython.py
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
(In [1853]) Fixed #1185 -- Fixed Python 2.4 bug in Django authentication mod_python handler. Thanks, Brian Ray