mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Changed salt.utils.fopen to salt.utils.files.fopen
This commit is contained in:
parent
8686872909
commit
f4b3bd5d2c
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ from tests.support.mock import (
|
|||
|
||||
from salt.modules import x509
|
||||
import salt.utils.stringutils
|
||||
import salt.utils
|
||||
import salt.utils.files
|
||||
|
||||
try:
|
||||
import M2Crypto # pylint: disable=unused-import
|
||||
|
@ -232,7 +232,7 @@ c9bcgp7D7xD+TxWWNj4CSXEccJgGr91StV+gFg4ARQ==
|
|||
days_valid=100,
|
||||
digest='sha512')
|
||||
|
||||
with salt.utils.fopen(ca_crl_file.name, 'r') as crl_file:
|
||||
with salt.utils.files.fopen(ca_crl_file.name, 'r') as crl_file:
|
||||
crl = crl_file.read()
|
||||
|
||||
os.remove(ca_key_file.name)
|
||||
|
|
Loading…
Add table
Reference in a new issue