Commit ef2007c3 authored by Albertas Agejevas's avatar Albertas Agejevas

One more Py3 bug.

parent 2ff8ff66
...@@ -277,10 +277,10 @@ class SizedMessageAsyncConnection(asyncore.dispatcher): ...@@ -277,10 +277,10 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
except StopIteration: except StopIteration:
messages.pop(0) messages.pop(0)
else: else:
assert(isinstance(message, six.binary_type))
size += self.__message_output(message, output) size += self.__message_output(message, output)
v = b"".join(output)
v = "".join(output)
del output[:] del output[:]
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment