Commit ca01cd0a authored by Stefan H. Holek's avatar Stefan H. Holek

cfg.zopehome is no longer part of the default configuration.

parent 3739f777
......@@ -618,7 +618,7 @@ class ObjectManager(CopyContainer,
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment