mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
Archive obtained from https://psutil.googlecode.com/files/psutil-1.0.1.tar.gz and extracted over existing source code without modifications.
20 lines
622 B
Python
20 lines
622 B
Python
#!/usr/bin/env python
|
|
|
|
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""This module is deprecated as exceptions are defined in _error.py
|
|
and are supposed to be accessed from 'psutil' namespace as in:
|
|
- psutil.NoSuchProcess
|
|
- psutil.AccessDenied
|
|
- psutil.TimeoutExpired
|
|
"""
|
|
|
|
import warnings
|
|
from psutil._error import *
|
|
|
|
warnings.warn("psutil.error module is deprecated and scheduled for removal; " \
|
|
"use psutil namespace instead", category=DeprecationWarning,
|
|
stacklevel=2)
|