Fix ansible-test handling of git output.
This commit is contained in:
parent
51bd07204b
commit
87d434ed68
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Git(object):
|
||||||
"""
|
"""
|
||||||
cmd = ['show', ref]
|
cmd = ['show', ref]
|
||||||
try:
|
try:
|
||||||
self.run_git(cmd)
|
self.run_git(cmd, str_errors='replace')
|
||||||
return True
|
return True
|
||||||
except SubprocessError:
|
except SubprocessError:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue