Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
737b2b43
Commit
737b2b43
authored
Apr 22, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be prepared for a call that returns an empty tuple.
parent
bbdb0e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ZEO/zrpc/connection.py
src/ZEO/zrpc/connection.py
+1
-1
No files found.
src/ZEO/zrpc/connection.py
View file @
737b2b43
...
...
@@ -341,7 +341,7 @@ class Connection(smac.SizedMessageAsyncConnection):
raise
DisconnectedError
()
msgid
=
self
.
send_call
(
method
,
args
,
0
)
r_flags
,
r_args
=
self
.
wait
(
msgid
)
if
(
isinstance
(
r_args
,
types
.
TupleType
)
if
(
isinstance
(
r_args
,
types
.
TupleType
)
and
len
(
r_args
)
>
1
and
type
(
r_args
[
0
])
==
types
.
ClassType
and
issubclass
(
r_args
[
0
],
Exception
)):
inst
=
r_args
[
1
]
...
...
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