summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno ReniƩ <brutasse@gmail.com>2014-08-28 21:22:19 +0200
committerMark Roberts <wizzat@fb.com>2014-09-03 09:55:45 -0700
commit931cfb8025f45535b3bb839ebfa5191074a76b15 (patch)
tree95d44133b6f698df7f125c4889a2b5a1310e7945
parentcf0b7f0530e765f2cf710bd35daf53bb4ea205d2 (diff)
downloadkafka-python-931cfb8025f45535b3bb839ebfa5191074a76b15.tar.gz
Fix log capture on py3
-rw-r--r--test/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service.py b/test/service.py
index 2f66120..865129b 100644
--- a/test/service.py
+++ b/test/service.py
@@ -54,7 +54,7 @@ class SpawnedService(threading.Thread):
if self.child.stdout in rds:
line = self.child.stdout.readline()
- self.captured_stdout.append(line)
+ self.captured_stdout.append(line.decode('utf-8'))
if self.child.stderr in rds:
line = self.child.stderr.readline()