mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add back the crypt import
This commit is contained in:
parent
7e9dc8ca63
commit
b960cd4f2a
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ from saltfactories.cli import call, key, salt
|
|||
from saltfactories.daemons import api, master, minion
|
||||
from saltfactories.utils import cli_scripts
|
||||
|
||||
try:
|
||||
import crypt
|
||||
|
||||
HAS_CRYPT = True
|
||||
except ImportError:
|
||||
HAS_CRYPT = False
|
||||
try:
|
||||
import pwd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue