[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - handlers.py:1.6
Fred L. Drake, Jr.
fred@zope.com
Wed, 23 Apr 2003 15:27:39 -0400
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv4558
Modified Files:
handlers.py
Log Message:
Add comment about need to unset configuration variables that aren't
specifically set.
=== Zope/lib/python/Zope/Startup/handlers.py 1.5 => 1.6 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.5 Thu Mar 20 18:13:00 2003
+++ Zope/lib/python/Zope/Startup/handlers.py Wed Apr 23 15:27:38 2003
@@ -2,6 +2,13 @@
# top-level key handlers
+
+# XXX I suspect there are still problems here. In most cases, if the
+# value is not set from the config file, or if the value is the
+# default, the corresponding envvar is not unset, which is needed to
+# ensure that the environment variables and the configuration values
+# reflect a coherant configuration.
+
def _setenv(name, value):
if isinstance(value, str):
os.environ[name] = value