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
30b4d72c
Commit
30b4d72c
authored
Apr 03, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to pass transaction to jar store method.
parent
eabcc6ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
src/ZODB/Persistence.py
src/ZODB/Persistence.py
+9
-5
No files found.
src/ZODB/Persistence.py
View file @
30b4d72c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
__doc__
=
'''Python implementation of persistent base types
__doc__
=
'''Python implementation of persistent base types
$Id: Persistence.py,v 1.
6 1997/03/28 23:04:48
jim Exp $'''
$Id: Persistence.py,v 1.
7 1997/04/03 17:33:32
jim Exp $'''
# Copyright
# Copyright
#
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
@@ -60,6 +60,9 @@ $Id: Persistence.py,v 1.6 1997/03/28 23:04:48 jim Exp $'''
...
@@ -60,6 +60,9 @@ $Id: Persistence.py,v 1.6 1997/03/28 23:04:48 jim Exp $'''
# (540) 371-6909
# (540) 371-6909
#
#
# $Log: Persistence.py,v $
# $Log: Persistence.py,v $
# Revision 1.7 1997/04/03 17:33:32 jim
# Changed to pass transaction to jar store method.
#
# Revision 1.6 1997/03/28 23:04:48 jim
# Revision 1.6 1997/03/28 23:04:48 jim
# Changed reinit to tolerate being called with no arguments.
# Changed reinit to tolerate being called with no arguments.
#
#
...
@@ -82,7 +85,7 @@ $Id: Persistence.py,v 1.6 1997/03/28 23:04:48 jim Exp $'''
...
@@ -82,7 +85,7 @@ $Id: Persistence.py,v 1.6 1997/03/28 23:04:48 jim Exp $'''
#
#
#
#
#
#
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
class
Persistent
:
class
Persistent
:
"""
\
"""
\
...
@@ -232,10 +235,11 @@ class Persistent:
...
@@ -232,10 +235,11 @@ class Persistent:
except
:
pass
except
:
pass
return
Persistence
.
Persistent
.
__changed__
(
self
,
v
)
return
Persistence
.
Persistent
.
__changed__
(
self
,
v
)
def
__inform_commit__
(
self
,
transaction
,
start_time
):
def
__inform_commit__
(
self
,
T
,
start_time
):
self
.
__save__
()
jar
=
self
.
_p_jar
if
jar
and
self
.
_p_changed
:
jar
.
store
(
self
,
T
)
def
__inform_abort__
(
self
,
transaction
,
start_time
):
def
__inform_abort__
(
self
,
T
,
start_time
):
try
:
self
.
_p_jar
.
oops
(
self
,
start_time
)
try
:
self
.
_p_jar
.
oops
(
self
,
start_time
)
except
:
pass
except
:
pass
...
...
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