diff mbox series

[2/3] tests: remotehost: add missed select import

Message ID 20210110155048.375376-2-janusz.dziedzic@gmail.com
State Accepted
Headers show
Series [1/3] tests: remotehost: remove wait_execute_complete | expand

Commit Message

Janusz Dziedzic Jan. 10, 2021, 3:50 p.m. UTC
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
---
 tests/hwsim/remotehost.py | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/tests/hwsim/remotehost.py b/tests/hwsim/remotehost.py
index 60ad9792f..9df3d8075 100644
--- a/tests/hwsim/remotehost.py
+++ b/tests/hwsim/remotehost.py
@@ -9,6 +9,8 @@  import subprocess
 import threading
 import tempfile
 import os
+import traceback
+import select
 
 logger = logging.getLogger()
 
@@ -207,6 +209,7 @@  class Host():
                 if not self.pending(proc.stdout, timeout=remaining):
                     break
         except:
+            logger.debug(traceback.format_exc())
             pass
         return None