mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix PyLint using-constant-test
This commit is contained in:
parent
bea7f90aae
commit
a79891c630
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ _VERSION_SPEC_SUPPORTED = True
|
||||||
|
|
||||||
if salt.utils.platform.is_windows():
|
if salt.utils.platform.is_windows():
|
||||||
_PKG_TARGETS = ['7zip', 'putty']
|
_PKG_TARGETS = ['7zip', 'putty']
|
||||||
elif salt.utils.platform.is_freebsd:
|
elif salt.utils.platform.is_freebsd():
|
||||||
_VERSION_SPEC_SUPPORTED = False
|
_VERSION_SPEC_SUPPORTED = False
|
||||||
elif pre_grains:
|
elif pre_grains:
|
||||||
if any(arch in pre_grains.like() for arch in ('arch', 'archlinux')):
|
if any(arch in pre_grains.like() for arch in ('arch', 'archlinux')):
|
||||||
|
|
Loading…
Add table
Reference in a new issue