summaryrefslogtreecommitdiff
path: root/psutil/_psposix.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psposix.py')
-rw-r--r--psutil/_psposix.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/psutil/_psposix.py b/psutil/_psposix.py
index 24570224..88213ef8 100644
--- a/psutil/_psposix.py
+++ b/psutil/_psposix.py
@@ -11,6 +11,7 @@ import time
from ._common import memoize
from ._common import sdiskusage
+from ._common import TimeoutExpired
from ._common import usage_percent
from ._compat import ChildProcessError
from ._compat import FileNotFoundError
@@ -24,11 +25,6 @@ from ._compat import unicode
__all__ = ['pid_exists', 'wait_pid', 'disk_usage', 'get_terminal_map']
-# This object gets set on "import psutil" from the __init__.py
-# file, see: https://github.com/giampaolo/psutil/issues/1402
-TimeoutExpired = None
-
-
def pid_exists(pid):
"""Check whether pid exists in the current process table."""
if pid == 0: