diff options
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 84f7c5e76d..526b493669 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -650,7 +650,7 @@ class LoggingThread(threading.Thread): | |||
650 | data = self.readsock.recv(count) | 650 | data = self.readsock.recv(count) |
651 | except socket.error as e: | 651 | except socket.error as e: |
652 | if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK: | 652 | if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK: |
653 | return '' | 653 | return b'' |
654 | else: | 654 | else: |
655 | raise | 655 | raise |
656 | 656 | ||
@@ -663,7 +663,7 @@ class LoggingThread(threading.Thread): | |||
663 | # until qemu exits. | 663 | # until qemu exits. |
664 | if not self.canexit: | 664 | if not self.canexit: |
665 | raise Exception("Console connection closed unexpectedly") | 665 | raise Exception("Console connection closed unexpectedly") |
666 | return '' | 666 | return b'' |
667 | 667 | ||
668 | return data | 668 | return data |
669 | 669 | ||