tests: remotehost: Add missed select import
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
parent
b02a56bedb
commit
3c6468a7f3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue