[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - handlers.py:1.6.2.2
Chris McDonough
chrism@zope.com
Mon, 28 Jul 2003 00:09:07 -0400
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv32715/lib/python/Zope/Startup
Modified Files:
Tag: Zope-2_7-branch
handlers.py
Log Message:
Fix debug mode config file option (debug mode was always off before this fix).
=== Zope/lib/python/Zope/Startup/handlers.py 1.6.2.1 => 1.6.2.2 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.6.2.1 Mon Jul 21 12:37:47 2003
+++ Zope/lib/python/Zope/Startup/handlers.py Mon Jul 28 00:09:02 2003
@@ -17,6 +17,8 @@
def debug_mode(value):
value and _setenv('Z_DEBUG_MODE', '1')
+ import Globals
+ Globals.DevelopmentMode = not not value
return value
def enable_product_installation(value):