mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Modules might still be needed, even if psutil loads.
This commit is contained in:
parent
fb0432fd21
commit
4966011cb5
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,7 @@ import codecs
|
|||
import logging
|
||||
from copy import deepcopy
|
||||
import types
|
||||
import platform
|
||||
|
||||
# Import third party libs
|
||||
import yaml
|
||||
|
@ -40,14 +41,13 @@ import salt.utils.xdg
|
|||
import salt.exceptions
|
||||
from salt.utils.locales import sdecode
|
||||
import salt.defaults.exitcodes
|
||||
import salt.grains.core
|
||||
|
||||
try:
|
||||
import psutil
|
||||
HAS_PSUTIL = True
|
||||
except ImportError:
|
||||
HAS_PSUTIL = False
|
||||
import platform
|
||||
import salt.grains.core
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue