This could be either kind of error.
This commit is contained in:
parent
78b92983ca
commit
e6e6a957d1
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import traceback
|
|||
psutil = None
|
||||
try:
|
||||
import psutil
|
||||
except OSError:
|
||||
except (OSError, ImportError):
|
||||
# We run into issues when trying to import psutil from inside mod_wsgi on
|
||||
# rhel7. If we hit that here, then just fail quietly.
|
||||
# https://github.com/jmflinuxtx/kerneltest-harness/pull/17#issuecomment-48007837
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue