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
nexedi
ZODB
Commits
6640b1b1
Commit
6640b1b1
authored
Aug 16, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tpc_begin(): Added a missing self.tpc_cond.acquire() in the except:
clause.
parent
b2a8a355
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZEO/ClientStorage.py
src/ZEO/ClientStorage.py
+2
-1
No files found.
src/ZEO/ClientStorage.py
View file @
6640b1b1
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Network ZODB storage client
"""Network ZODB storage client
$Id: ClientStorage.py,v 1.4
5 2002/08/14 20:44:28 jeremy
Exp $
$Id: ClientStorage.py,v 1.4
6 2002/08/16 18:15:04 bwarsaw
Exp $
"""
"""
import
cPickle
import
cPickle
...
@@ -375,6 +375,7 @@ class ClientStorage:
...
@@ -375,6 +375,7 @@ class ClientStorage:
# Client may have disconnected during the tpc_begin().
# Client may have disconnected during the tpc_begin().
# Then notifyDisconnected() will have released the lock.
# Then notifyDisconnected() will have released the lock.
if
self
.
_server
is
not
disconnected_stub
:
if
self
.
_server
is
not
disconnected_stub
:
self
.
tpc_cond
.
acquire
()
self
.
_transaction
=
None
self
.
_transaction
=
None
self
.
tpc_cond
.
release
()
self
.
tpc_cond
.
release
()
raise
raise
...
...
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