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 threading
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os
|
||||||
|
import traceback
|
||||||
|
import select
|
||||||
|
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
@ -207,6 +209,7 @@ class Host():
|
||||||
if not self.pending(proc.stdout, timeout=remaining):
|
if not self.pending(proc.stdout, timeout=remaining):
|
||||||
break
|
break
|
||||||
except:
|
except:
|
||||||
|
logger.debug(traceback.format_exc())
|
||||||
pass
|
pass
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue