Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
1fa7a3cf
Commit
1fa7a3cf
authored
Feb 05, 2003
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made mount points visible from mounted objects
parent
162c11a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/ZODB/Mount.py
src/ZODB/Mount.py
+3
-2
No files found.
src/ZODB/Mount.py
View file @
1fa7a3cf
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Mounted database support
$Id: Mount.py,v 1.1
6 2002/08/14 22:07:09 mj
Exp $"""
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
$Id: Mount.py,v 1.1
7 2003/02/05 16:49:02 shane
Exp $"""
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
import
thread
,
Persistence
,
Acquisition
import
ExtensionClass
,
string
,
time
,
sys
...
...
@@ -154,6 +154,7 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
data
=
getattr
(
obj
,
'aq_base'
,
obj
)
# Store the data object in a tuple to hide from acquisition.
self
.
_v_data
=
(
data
,)
data
.
_v_mount_point_
=
self
return
data
def
_getOrOpenObject
(
self
,
parent
):
...
...
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