Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
99d87495
Commit
99d87495
authored
Jun 29, 2020
by
Joshua Woelfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed syntax error and added historic connection functionality to zconn_at
parent
b8666c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
lib/zodb.py
lib/zodb.py
+9
-7
No files found.
lib/zodb.py
View file @
99d87495
...
@@ -180,13 +180,15 @@ def zconn_at(zconn): # -> tid
...
@@ -180,13 +180,15 @@ def zconn_at(zconn): # -> tid
raise
AssertionError
(
"zconn_at: TODO: add support for zstor %r"
%
zstor
)
raise
AssertionError
(
"zconn_at: TODO: add support for zstor %r"
%
zstor
)
elif
zmajor
==
4
:
elif
zmajor
==
4
:
if
not
zconn
.
before
if
zconn
.
before
is
None
:
zconn
.
_inv_lock
.
acquire
()
zconn
.
_inv_lock
.
acquire
()
try
:
try
:
viewed_state
=
zconn
.
viewed_db_state
viewed_state
=
zconn
.
viewed_db_state
finally
:
finally
:
zconn
.
_inv_lock
.
release
()
zconn
.
_inv_lock
.
release
()
return
viewed_state
return
viewed_state
else
:
return
before2at
(
zconn
.
before
)
# TODO ZODB3
# TODO ZODB3
else
:
else
:
...
...
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