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
Joshua
zodb
Commits
7e376b24
Commit
7e376b24
authored
Mar 12, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify assertions.
parent
b459f7dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/ZODB/Connection.py
src/ZODB/Connection.py
+3
-5
No files found.
src/ZODB/Connection.py
View file @
7e376b24
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.13
7 2004/03/12 06:11:36
jeremy Exp $"""
$Id: Connection.py,v 1.13
8 2004/03/12 06:37:23
jeremy Exp $"""
import
logging
import
sys
...
...
@@ -125,7 +125,7 @@ class Connection(ExportImport, object):
their state and register changes. The methods are setstate(),
register(), setklassstate().
$Id: Connection.py,v 1.13
7 2004/03/12 06:11:36
jeremy Exp $
$Id: Connection.py,v 1.13
8 2004/03/12 06:37:23
jeremy Exp $
"""
_tmp
=
None
...
...
@@ -771,9 +771,7 @@ class Connection(ExportImport, object):
# been modified at txn_time.
assert
start
<
self
.
_txn_time
,
(
u64
(
start
),
u64
(
self
.
_txn_time
))
assert
end
is
None
or
self
.
_txn_time
<=
end
,
\
(
u64
(
self
.
_txn_time
),
u64
(
end
))
assert
end
is
not
None
assert
self
.
_txn_time
<=
end
,
(
u64
(
self
.
_txn_time
),
u64
(
end
))
self
.
_reader
.
setGhostState
(
obj
,
data
)
obj
.
_p_serial
=
start
return
True
...
...
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