[Zope-Checkins] SVN: Zope/trunk/src/OFS/ObjectManager.py cfg.zopehome is no longer part of the default configuration.
Stefan H. Holek
stefan at epy.co.at
Sat Mar 7 15:50:41 EST 2009
Log message for revision 97638:
cfg.zopehome is no longer part of the default configuration.
Changed:
U Zope/trunk/src/OFS/ObjectManager.py
-=-
Modified: Zope/trunk/src/OFS/ObjectManager.py
===================================================================
--- Zope/trunk/src/OFS/ObjectManager.py 2009-03-07 20:08:53 UTC (rev 97637)
+++ Zope/trunk/src/OFS/ObjectManager.py 2009-03-07 20:50:40 UTC (rev 97638)
@@ -618,7 +618,7 @@
raise BadRequest, 'Invalid file name %s' % escape(file)
cfg = getConfiguration()
- for impath in (cfg.instancehome, cfg.zopehome):
+ for impath in (cfg.instancehome, getattr(cfg, 'zopehome', '')):
filepath = os.path.join(impath, 'import', file)
if os.path.exists(filepath):
break
More information about the Zope-Checkins
mailing list