Skip to content

Commit

Permalink
Messages are binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
alga committed Mar 6, 2013
1 parent 3fec490 commit d77eea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZEO/zrpc/smac.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def handle_write(self):
size = sum((len(s) for s in output))
while (size <= SEND_SIZE) and messages:
message = messages[0]
if message.__class__ is str:
if message.__class__ is six.binary_type:
size += self.__message_output(messages.pop(0), output)
elif message is _close_marker:
del messages[:]
Expand Down

0 comments on commit d77eea9

Please sign in to comment.