mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove psutil_compat.py file, which should have been removed when RHEL 6 EOL
This commit is contained in:
parent
c222b6e978
commit
6774e08aa4
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
"""
|
||||
Version agnostic psutil hack to fully support both old (<2.0) and new (>=2.0)
|
||||
psutil versions.
|
||||
|
||||
The old <1.0 psutil API is dropped in psutil 3.0
|
||||
|
||||
Should be removed once support for psutil <2.0 is dropped. (eg RHEL 6)
|
||||
|
||||
Built off of http://grodola.blogspot.com/2014/01/psutil-20-porting.html
|
||||
"""
|
||||
|
||||
from psutil import * # pylint: disable=wildcard-import,unused-wildcard-import,3rd-party-module-not-gated
|
||||
|
||||
import salt.utils.versions
|
||||
|
||||
salt.utils.versions.warn_until(
|
||||
3008,
|
||||
"Please stop importing 'salt.utils.psutil_compat' and instead import "
|
||||
"'psutil' directly as there's no longer a need for a compatability "
|
||||
"layer. The 'salt.utils.psutil_compat' will go away on Salt {version}.",
|
||||
)
|
Loading…
Add table
Reference in a new issue