Skip to content

Commit 60f32fd

Browse files
author
Richard Jones
committed
fix debug flag detection
1 parent a023b2e commit 60f32fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/cgi/apache.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# instead of mod_python FieldStorage
2121
# 29-apr-2004 [als] created
2222

23-
__version__ = "$Revision: 1.4 $"[11:-2]
24-
__date__ = "$Date: 2004-11-22 07:33:34 $"[7:-2]
23+
__version__ = "$Revision: 1.5 $"[11:-2]
24+
__date__ = "$Date: 2006-11-03 05:43:00 $"[7:-2]
2525

2626
import cgi
2727
import os
@@ -80,7 +80,7 @@ def handler(req):
8080
if _timing.lower() in ("no", "false"):
8181
_timing = ""
8282
_debug = _options.get("TrackerDebug", "no")
83-
_debug = _debug.lower not in ("no", "false")
83+
_debug = _debug.lower() not in ("no", "false")
8484
if not (_home and os.path.isdir(_home)):
8585
apache.log_error(
8686
"PythonOption TrackerHome missing or invalid for %(uri)s"

0 commit comments

Comments
 (0)