Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
f152e702
Commit
f152e702
authored
Feb 06, 2003
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The _v_mount_point_ attribute is not needed after all.
parent
872961c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
src/ZODB/Connection.py
src/ZODB/Connection.py
+6
-2
src/ZODB/Mount.py
src/ZODB/Mount.py
+2
-3
No files found.
src/ZODB/Connection.py
View file @
f152e702
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Database connection support
"""Database connection support
$Id: Connection.py,v 1.8
4 2003/01/21 21:02:28 bwarsaw
Exp $"""
$Id: Connection.py,v 1.8
5 2003/02/06 20:31:17 shane
Exp $"""
from
cPickleCache
import
PickleCache
from
cPickleCache
import
PickleCache
from
POSException
import
ConflictError
,
ReadConflictError
from
POSException
import
ConflictError
,
ReadConflictError
...
@@ -393,7 +393,11 @@ class Connection(ExportImport.ExportImport):
...
@@ -393,7 +393,11 @@ class Connection(ExportImport.ExportImport):
seek
(
0
)
seek
(
0
)
clear_memo
()
clear_memo
()
dump
((
klass
,
args
))
dump
((
klass
,
args
))
dump
(
state
)
try
:
dump
(
state
)
except
:
import
pdb
;
pdb
.
set_trace
()
raise
p
=
file
(
1
)
p
=
file
(
1
)
s
=
dbstore
(
oid
,
serial
,
p
,
version
,
transaction
)
s
=
dbstore
(
oid
,
serial
,
p
,
version
,
transaction
)
self
.
_store_count
=
self
.
_store_count
+
1
self
.
_store_count
=
self
.
_store_count
+
1
...
...
src/ZODB/Mount.py
View file @
f152e702
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
##############################################################################
##############################################################################
"""Mounted database support
"""Mounted database support
$Id: Mount.py,v 1.1
8 2003/02/05 19:45:02
shane Exp $"""
$Id: Mount.py,v 1.1
9 2003/02/06 20:31:17
shane Exp $"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
thread
,
Persistence
,
Acquisition
import
thread
,
Persistence
,
Acquisition
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
...
@@ -155,7 +155,6 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
...
@@ -155,7 +155,6 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
data
=
aq_base
(
obj
)
data
=
aq_base
(
obj
)
# Store the data object in a tuple to hide from acquisition.
# Store the data object in a tuple to hide from acquisition.
self
.
_v_data
=
(
data
,)
self
.
_v_data
=
(
data
,)
data
.
_v_mount_point_
=
(
aq_base
(
self
),)
return
data
return
data
def
_getOrOpenObject
(
self
,
parent
):
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