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
f5344562
Commit
f5344562
authored
Aug 11, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of some commented out code and cleaned up a bit of code
checking for subtransactions.
parent
d24cf52e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/ZODB/Transaction.py
src/ZODB/Transaction.py
+3
-7
No files found.
src/ZODB/Transaction.py
View file @
f5344562
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
##############################################################################
##############################################################################
"""Transaction management
"""Transaction management
$Id: Transaction.py,v 1.1
2 1999/07/22 15:03:09
jim Exp $"""
$Id: Transaction.py,v 1.1
3 1999/08/11 13:56:21
jim Exp $"""
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
import
time
,
sys
,
struct
import
time
,
sys
,
struct
from
struct
import
pack
from
struct
import
pack
...
@@ -205,15 +205,11 @@ class Transaction:
...
@@ -205,15 +205,11 @@ class Transaction:
while
objects
:
while
objects
:
o
=
objects
[
-
1
]
o
=
objects
[
-
1
]
j
=
getattr
(
o
,
'_p_jar'
,
o
)
j
=
getattr
(
o
,
'_p_jar'
,
o
)
#if j is None:
# print 'waaa'
# print o, o._p_oid
# raise 'what the hell'
i
=
id
(
j
)
i
=
id
(
j
)
if
not
jars
.
has_key
(
i
):
if
not
jars
.
has_key
(
i
):
jars
[
i
]
=
j
jars
[
i
]
=
j
if
subtransaction
:
subj
[
i
]
=
j
if
subtransaction
:
if
subtransaction
:
subj
[
i
]
=
j
j
.
tpc_begin
(
self
,
subtransaction
)
j
.
tpc_begin
(
self
,
subtransaction
)
else
:
else
:
j
.
tpc_begin
(
self
)
j
.
tpc_begin
(
self
)
...
...
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