summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 69fee27511..899152c7ad 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -724,7 +724,7 @@ class LoggingThread(threading.Thread):
724 data = self.readsock.recv(count) 724 data = self.readsock.recv(count)
725 except socket.error as e: 725 except socket.error as e:
726 if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK: 726 if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK:
727 return '' 727 return b''
728 else: 728 else:
729 raise 729 raise
730 730
@@ -737,7 +737,7 @@ class LoggingThread(threading.Thread):
737 # until qemu exits. 737 # until qemu exits.
738 if not self.canexit: 738 if not self.canexit:
739 raise Exception("Console connection closed unexpectedly") 739 raise Exception("Console connection closed unexpectedly")
740 return '' 740 return b''
741 741
742 return data 742 return data
743 743