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

Janusz Dziedzic janusz.dziedzic at gmail.com
Sun Jan 10 10:50:47 EST 2021


Signed-off-by: Janusz Dziedzic <janusz.dziedzic at gmail.com>
---
 tests/hwsim/remotehost.py | 3 +++
 1 file changed, 3 insertions(+)

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
 
-- 
2.25.1




More information about the Hostap mailing list