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
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
Kirill Smelkov
ZEO
Commits
1be16437
Commit
1be16437
authored
Mar 13, 2013
by
Albertas Agejevas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make an error more explicit.
Used to be "TypeError: str object is not an iterator".
parent
320e4d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/ZEO/zrpc/smac.py
src/ZEO/zrpc/smac.py
+2
-0
No files found.
src/ZEO/zrpc/smac.py
View file @
1be16437
...
...
@@ -267,6 +267,8 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
message
=
messages
[
0
]
if
isinstance
(
message
,
six
.
binary_type
):
size
+=
self
.
__message_output
(
messages
.
pop
(
0
),
output
)
elif
isinstance
(
message
,
six
.
text_type
):
assert
False
,
"Got a unicode message: %s"
%
repr
(
message
)
elif
message
is
_close_marker
:
del
messages
[:]
del
output
[:]
...
...
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