mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
is_windows is a function, not a propery/attribute
While not fatal, this could potentially cause problems running this test on Windows.
This commit is contained in:
parent
a91a3f81b1
commit
14cf6ce322
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def _git_version():
|
|||
git_version = subprocess.Popen(
|
||||
['git', '--version'],
|
||||
shell=False,
|
||||
close_fds=False if salt.utils.is_windows else True,
|
||||
close_fds=False if salt.utils.is_windows() else True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE).communicate()[0]
|
||||
except OSError:
|
||||
|
|
Loading…
Add table
Reference in a new issue