Commit 85f88723 authored by Evan Simpson's avatar Evan Simpson

Fix envar tests

parent 4c3786a9
......@@ -84,8 +84,8 @@
##############################################################################
__doc__="""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.152 2001/10/25 14:54:13 andreasjung Exp $"""
__version__='$Revision: 1.152 $'[11:-2]
$Id: Publish.py,v 1.153 2001/10/26 22:32:22 evan Exp $"""
__version__='$Revision: 1.153 $'[11:-2]
import sys, os
from string import lower, atoi, rfind, strip
......@@ -287,8 +287,8 @@ def get_module_info(module_name, modules={},
debug_mode=not not module.__bobo_debug_mode__
else:
z1 = os.environ.get('Z_DEBUG_MODE',None)
z2 = os.environ.get('BOBO_DEBUG_MODE',None)
z1 = os.environ.get('Z_DEBUG_MODE','')
z2 = os.environ.get('BOBO_DEBUG_MODE','')
if z1.lower() in ('yes','y') or z1.isdigit():
debug_mode = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment