mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix yamllint tests
This commit is contained in:
parent
7a871376a2
commit
9922b1a145
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import salt.utils.versions as versions
|
|||
try:
|
||||
import salt.utils.yamllint as yamllint
|
||||
|
||||
YAMLLINT_AVAILABLE = True
|
||||
YAMLLINT_AVAILABLE = yamllint.has_yamllint()
|
||||
except ImportError:
|
||||
YAMLLINT_AVAILABLE = False
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ try:
|
|||
import salt.modules.yaml
|
||||
import salt.utils.yamllint
|
||||
|
||||
YAMLLINT_AVAILABLE = True
|
||||
YAMLLINT_AVAILABLE = salt.utils.yamllint.has_yamllint()
|
||||
except ImportError:
|
||||
YAMLLINT_AVAILABLE = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue