mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907797 - Catch NotImplementedError when importing psutil; r=ahal
This commit is contained in:
parent
4221250b8c
commit
6d2e7e62b1
@ -6,9 +6,10 @@ import multiprocessing
|
||||
import sys
|
||||
import time
|
||||
|
||||
# psutil will raise NotImplementedError if the platform is not supported.
|
||||
try:
|
||||
import psutil
|
||||
except ImportError:
|
||||
except (ImportError, NotImplementedError):
|
||||
psutil = None
|
||||
|
||||
from collections import (
|
||||
|
Loading…
Reference in New Issue
Block a user