Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e957ad47
Commit
e957ad47
authored
Jan 02, 2010
by
David Glick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge r107525-107528 from Zope 2.10
parent
33a40e24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
doc/CHANGES.rst
doc/CHANGES.rst
+4
-0
src/OFS/ObjectManager.py
src/OFS/ObjectManager.py
+2
-1
No files found.
doc/CHANGES.rst
View file @
e957ad47
...
@@ -11,6 +11,10 @@ Zope 2.12.3 (unreleased)
...
@@ -11,6 +11,10 @@ Zope 2.12.3 (unreleased)
Bugs Fixed
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.
- Fixed a SyntaxError in utilities/load_site.py script.
- Fixed a SyntaxError in utilities/load_site.py script.
Features Added
Features Added
...
...
src/OFS/ObjectManager.py
View file @
e957ad47
...
@@ -617,7 +617,6 @@ class ObjectManager(CopyContainer,
...
@@ -617,7 +617,6 @@ class ObjectManager(CopyContainer,
if
dirname
:
if
dirname
:
raise
BadRequest
,
'Invalid file name %s'
%
escape
(
file
)
raise
BadRequest
,
'Invalid file name %s'
%
escape
(
file
)
cfg
=
getConfiguration
()
for
impath
in
self
.
_getImportPaths
():
for
impath
in
self
.
_getImportPaths
():
filepath
=
os
.
path
.
join
(
impath
,
'import'
,
file
)
filepath
=
os
.
path
.
join
(
impath
,
'import'
,
file
)
if
os
.
path
.
exists
(
filepath
):
if
os
.
path
.
exists
(
filepath
):
...
@@ -663,6 +662,8 @@ class ObjectManager(CopyContainer,
...
@@ -663,6 +662,8 @@ class ObjectManager(CopyContainer,
paths
.
append
(
zopehome
)
paths
.
append
(
zopehome
)
if
not
cfg
.
instancehome
in
paths
:
if
not
cfg
.
instancehome
in
paths
:
paths
.
append
(
cfg
.
instancehome
)
paths
.
append
(
cfg
.
instancehome
)
if
not
cfg
.
clienthome
in
paths
:
paths
.
append
(
cfg
.
clienthome
)
return
paths
return
paths
def
list_imports
(
self
):
def
list_imports
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment