]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: remotehost: Add missed select import
authorJanusz Dziedzic <janusz.dziedzic@gmail.com>
Sun, 10 Jan 2021 15:50:47 +0000 (16:50 +0100)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jan 2021 10:16:55 +0000 (12:16 +0200)
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
tests/hwsim/remotehost.py

index 60ad9792fbe5af603f4c60d4f6c1f9302ef20c93..9df3d807525917bf5266e8cc8acc6f99024300eb 100644 (file)
@@ -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