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
855c1281
Commit
855c1281
authored
Aug 07, 2000
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed silly debugging code. :-/
parent
77dc4d4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+2
-3
No files found.
lib/python/OFS/ObjectManager.py
View file @
855c1281
...
@@ -84,9 +84,9 @@
...
@@ -84,9 +84,9 @@
##############################################################################
##############################################################################
__doc__
=
"""Object Manager
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.10
3 2000/08/07 18:31:21
shane Exp $"""
$Id: ObjectManager.py,v 1.10
4 2000/08/07 18:45:56
shane Exp $"""
__version__
=
'$Revision: 1.10
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.10
4
$'
[
11
:
-
2
]
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
import
os
,
App
.
FactoryDispatcher
,
ts_regex
,
Products
...
@@ -226,7 +226,6 @@ class ObjectManager(
...
@@ -226,7 +226,6 @@ class ObjectManager(
if
obj
is
not
None
:
if
obj
is
not
None
:
# An object by the given id exists either in this
# An object by the given id exists either in this
# ObjectManager or in the acquisition path.
# ObjectManager or in the acquisition path.
print
obj
,
dir
(
obj
)
flag
=
getattr
(
obj
,
'__replaceable__'
,
NOT_REPLACEABLE
)
flag
=
getattr
(
obj
,
'__replaceable__'
,
NOT_REPLACEABLE
)
if
flag
==
UNIQUE
:
if
flag
==
UNIQUE
:
raise
'Bad Request'
,
\
raise
'Bad Request'
,
\
...
...
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