[Zope-Checkins] CVS: Packages/ZPublisher - Publish.py:1.153
Evan Simpson
evan@zope.com
Fri, 26 Oct 2001 18:32:22 -0400
Update of /cvs-repository/Packages/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv19243/ZPublisher
Modified Files:
Publish.py
Log Message:
Fix envar tests
=== Packages/ZPublisher/Publish.py 1.152 => 1.153 ===
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