diff options
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-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 410789b815..09ef9fadb2 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -646,7 +646,7 @@ class LoggingThread(threading.Thread): | |||
646 | data = self.readsock.recv(count) | 646 | data = self.readsock.recv(count) |
647 | except socket.error as e: | 647 | except socket.error as e: |
648 | if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK: | 648 | if e.errno == errno.EAGAIN or e.errno == errno.EWOULDBLOCK: |
649 | return '' | 649 | return b'' |
650 | else: | 650 | else: |
651 | raise | 651 | raise |
652 | 652 | ||
@@ -659,7 +659,7 @@ class LoggingThread(threading.Thread): | |||
659 | # until qemu exits. | 659 | # until qemu exits. |
660 | if not self.canexit: | 660 | if not self.canexit: |
661 | raise Exception("Console connection closed unexpectedly") | 661 | raise Exception("Console connection closed unexpectedly") |
662 | return '' | 662 | return b'' |
663 | 663 | ||
664 | return data | 664 | return data |
665 | 665 | ||