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
4104808a
Commit
4104808a
authored
Feb 21, 2009
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eeeh, how embarassing, there's no zope gnomes
parent
28cd2838
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/OFS/ObjectManager.py
src/OFS/ObjectManager.py
+4
-4
No files found.
src/OFS/ObjectManager.py
View file @
4104808a
...
...
@@ -17,13 +17,13 @@ $Id$
from
cgi
import
escape
from
cStringIO
import
StringIO
from
logging
import
getLogger
import
copy
import
fnmatch
import
marshal
import
os
import
re
import
sys
import
warnings
from
AccessControl
import
ClassSecurityInfo
from
AccessControl.Permissions
import
view_management_screens
...
...
@@ -48,7 +48,6 @@ from webdav.Collection import Collection
from
webdav.Lockable
import
ResourceLockedError
from
webdav.NullResource
import
NullResource
from
zExceptions
import
BadRequest
from
ZODB.POSException
import
ConflictError
from
zope.interface
import
implements
from
zope.component.interfaces
import
ComponentLookupError
from
zope.event
import
notify
...
...
@@ -56,7 +55,6 @@ from zope.container.contained import ObjectAddedEvent
from
zope.container.contained
import
ObjectRemovedEvent
from
zope.container.contained
import
notifyContainerModified
from
zope.container.interfaces
import
IContainer
from
zope.interface
import
implements
from
OFS.CopySupport
import
CopyContainer
from
OFS.interfaces
import
IObjectManager
...
...
@@ -73,6 +71,8 @@ NOT_REPLACEABLE = 0
REPLACEABLE
=
1
UNIQUE
=
2
LOG
=
getLogger
(
'ObjectManager'
)
# the name BadRequestException is relied upon by 3rd-party code
BadRequestException
=
BadRequest
...
...
@@ -662,7 +662,7 @@ class ObjectManager(CopyContainer,
paths
=
[]
zopehome
=
getattr
(
cfg
,
'zopehome'
,
None
)
if
zopehome
is
not
None
and
cfg
.
zopehome
is
not
None
:
paths
.
append
(
zope
g
ome
)
paths
.
append
(
zope
h
ome
)
if
not
cfg
.
instancehome
in
paths
:
paths
.
append
(
cfg
.
instancehome
)
for
impath
in
paths
:
...
...
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