[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - handlers.py:1.9
Chris McDonough
chrism@zope.com
Mon, 28 Jul 2003 00:07:18 -0400
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv32342/lib/python/Zope/Startup
Modified Files:
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.8 => 1.9 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.8 Sun Jul 20 22:21:03 2003
+++ Zope/lib/python/Zope/Startup/handlers.py Mon Jul 28 00:07:14 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):