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
6f3ef435
Commit
6f3ef435
authored
Sep 12, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addr is often a tuple so it can't be passed to string format directly
parent
6abb78ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/zrpc/client.py
src/ZEO/zrpc/client.py
+2
-2
No files found.
src/ZEO/zrpc/client.py
View file @
6f3ef435
...
...
@@ -382,7 +382,7 @@ class ConnectThread(threading.Thread):
try
:
(
stub
,
preferred
)
=
self
.
client
.
testConnection
(
c
)
except
:
log
(
"error in testConnection (%r)"
%
addr
,
log
(
"error in testConnection (%r)"
%
(
addr
,)
,
level
=
zLOG
.
ERROR
,
error
=
sys
.
exc_info
())
c
.
close
()
# Closing the ZRPC connection will eventually close the
...
...
@@ -392,7 +392,7 @@ class ConnectThread(threading.Thread):
try
:
self
.
client
.
notifyConnected
(
stub
)
except
:
log
(
"error in notifyConnected (%r)"
%
addr
,
log
(
"error in notifyConnected (%r)"
%
(
addr
,)
,
level
=
zLOG
.
ERROR
,
error
=
sys
.
exc_info
())
c
.
close
()
return
0
...
...
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