diff options
author | Bruno ReniƩ <brutasse@gmail.com> | 2014-08-28 21:22:19 +0200 |
---|---|---|
committer | Mark Roberts <wizzat@fb.com> | 2014-09-03 09:55:45 -0700 |
commit | 931cfb8025f45535b3bb839ebfa5191074a76b15 (patch) | |
tree | 95d44133b6f698df7f125c4889a2b5a1310e7945 | |
parent | cf0b7f0530e765f2cf710bd35daf53bb4ea205d2 (diff) | |
download | kafka-python-931cfb8025f45535b3bb839ebfa5191074a76b15.tar.gz |
Fix log capture on py3
-rw-r--r-- | test/service.py | 2 |
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() |