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
4972192a
Commit
4972192a
authored
Jun 27, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged Broken _delObject fix from 2.2 branch
parent
52dc6374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+10
-5
No files found.
lib/python/OFS/ObjectManager.py
View file @
4972192a
...
...
@@ -84,9 +84,9 @@
##############################################################################
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.10
0 2000/06/23 18:02:03
brian Exp $"""
$Id: ObjectManager.py,v 1.10
1 2000/06/27 15:47:50
brian Exp $"""
__version__
=
'$Revision: 1.10
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.10
1
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
...
...
@@ -300,9 +300,14 @@ class ObjectManager(
pass
self
.
_objects
=
tuple
(
filter
(
lambda
i
,
n
=
id
:
i
[
'id'
]
!=
n
,
self
.
_objects
))
self
.
_delOb
(
id
)
# Indicate to the object that it has been deleted.
# Necessary for mount points.
object
.
_v__object_deleted__
=
1
# Indicate to the object that it has been deleted. This is
# necessary for object DB mount points. Note that we have to
# tolerate failure here because the object being deleted could
# be a Broken object, and it is not possible to set attributes
# on Broken objects.
try
:
object
.
_v__object_deleted__
=
1
except
:
pass
def
objectIds
(
self
,
spec
=
None
):
"""Returns a list of subobject ids of the current object.
...
...
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