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
00894ea6
Commit
00894ea6
authored
May 30, 2003
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testBadTransaction(): 'False' doesn't work under Python 2.1.3.
parent
21058f0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ZODB/tests/testRecover.py
src/ZODB/tests/testRecover.py
+4
-4
No files found.
src/ZODB/tests/testRecover.py
View file @
00894ea6
...
@@ -120,14 +120,14 @@ class RecoverTest(unittest.TestCase):
...
@@ -120,14 +120,14 @@ class RecoverTest(unittest.TestCase):
L
=
self
.
storage
.
undoLog
()
L
=
self
.
storage
.
undoLog
()
r
=
L
[
3
]
r
=
L
[
3
]
tid
=
base64
.
decodestring
(
r
[
"id"
]
+
"
\
n
"
)
tid
=
base64
.
decodestring
(
r
[
"id"
]
+
"
\
n
"
)
pos1
=
self
.
storage
.
_txn_find
(
tid
,
False
)
pos1
=
self
.
storage
.
_txn_find
(
tid
,
0
)
r
=
L
[
8
]
r
=
L
[
8
]
tid
=
base64
.
decodestring
(
r
[
"id"
]
+
"
\
n
"
)
tid
=
base64
.
decodestring
(
r
[
"id"
]
+
"
\
n
"
)
pos2
=
self
.
storage
.
_txn_find
(
tid
,
False
)
pos2
=
self
.
storage
.
_txn_find
(
tid
,
0
)
self
.
storage
.
close
()
self
.
storage
.
close
()
# Overwrite the entire header.
# Overwrite the entire header.
f
=
open
(
self
.
path
,
"a+b"
)
f
=
open
(
self
.
path
,
"a+b"
)
f
.
seek
(
pos1
-
50
)
f
.
seek
(
pos1
-
50
)
...
...
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