Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1185 closed defect (fixed)

__str_to_bool in modpython.py

Reported by: Brian Ray <bray@…> Owned by: adrian
Component: Tools Version: master
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: UI/UX:

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 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 9 years ago by adrian

  • milestone Version 0.91 deleted

Milestone Version 0.91 deleted

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