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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
528e16ce
Commit
528e16ce
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
d907de21
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 @
528e16ce
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""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
POSException
import
ConflictError
,
ReadConflictError
...
...
@@ -393,7 +393,11 @@ class Connection(ExportImport.ExportImport):
seek
(
0
)
clear_memo
()
dump
((
klass
,
args
))
dump
(
state
)
try
:
dump
(
state
)
except
:
import
pdb
;
pdb
.
set_trace
()
raise
p
=
file
(
1
)
s
=
dbstore
(
oid
,
serial
,
p
,
version
,
transaction
)
self
.
_store_count
=
self
.
_store_count
+
1
...
...
src/ZODB/Mount.py
View file @
528e16ce
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Mounted database support
$Id: Mount.py,v 1.1
8 2003/02/05 19:45:02
shane Exp $"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
$Id: Mount.py,v 1.1
9 2003/02/06 20:31:17
shane Exp $"""
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
thread
,
Persistence
,
Acquisition
from
Acquisition
import
aq_base
...
...
@@ -155,7 +155,6 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
data
=
aq_base
(
obj
)
# Store the data object in a tuple to hide from acquisition.
self
.
_v_data
=
(
data
,)
data
.
_v_mount_point_
=
(
aq_base
(
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