mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
333c305ba0
commit
fa70ef2e31
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ class Pygit2(GitProvider):
|
|||
for line in subprocess.Popen(
|
||||
'git ls-remote origin',
|
||||
shell=True,
|
||||
close_fds=True,
|
||||
close_fds=not salt.utils.is_windows(),
|
||||
cwd=self.repo.workdir,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT).communicate()[0].splitlines():
|
||||
|
|
Loading…
Add table
Reference in a new issue