Commit ef70f7cd authored by David Glick's avatar David Glick

merge r107529 from Zope 2.12

parent 6a802960
......@@ -122,6 +122,10 @@ Features Added
Bugs Fixed
++++++++++
- Also look for ZEXP imports within the clienthome directory. This
provides a place to put imports that won't be clobbered by buildout
in a buildout-based Zope instance.
- LP #143444: add labels to checkboxes / radio buttons on import / export
form.
......
......@@ -617,7 +617,6 @@ class ObjectManager(CopyContainer,
if dirname:
raise BadRequest, 'Invalid file name %s' % escape(file)
cfg = getConfiguration()
for impath in self._getImportPaths():
filepath = os.path.join(impath, 'import', file)
if os.path.exists(filepath):
......@@ -663,6 +662,8 @@ class ObjectManager(CopyContainer,
paths.append(zopehome)
if not cfg.instancehome in paths:
paths.append(cfg.instancehome)
if not cfg.clienthome in paths:
paths.append(cfg.clienthome)
return paths
def list_imports(self):
......
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