[Zope-Checkins] CVS: Zope/lib/python/App - config.py:1.4.2.3
Chris McDonough
chrism at zopemafia.com
Fri Dec 19 23:44:34 EST 2003
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv29961
Modified Files:
Tag: Zope-2_7-branch
config.py
Log Message:
Dont try to set attributes on config in setConfig if we're trying to clear the configuration by passing it None.
=== Zope/lib/python/App/config.py 1.4.2.2 => 1.4.2.3 ===
--- Zope/lib/python/App/config.py:1.4.2.2 Fri Oct 3 10:28:20 2003
+++ Zope/lib/python/App/config.py Fri Dec 19 23:44:33 2003
@@ -41,6 +41,9 @@
global _config
_config = cfg
+ if cfg is None:
+ return
+
from App import FindHomes
import __builtin__
__builtin__.CLIENT_HOME = FindHomes.CLIENT_HOME = cfg.clienthome
More information about the Zope-Checkins
mailing list