diff options
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index 1f7fe23..3b347d3 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -32,7 +32,7 @@ class GitWrapper(): # All commands need to success for command in commands: - res = ProcessWrapper().call(command, cwd=repo_config['path'], shell=True) + res = ProcessWrapper().call(command, cwd=repo_config['path'], shell=True, supressStderr=True) if res != 0: logger.error("Command '%s' failed with exit code %s" % (command, res)) @@ -76,7 +76,7 @@ class GitWrapper(): # All commands need to success for command in commands: - res = ProcessWrapper().call(command, cwd=repo_config['path'], shell=True) + res = ProcessWrapper().call(command, cwd=repo_config['path'], shell=True, supressStderr=True) if res != 0: logger.error("Command '%s' failed with exit code %s" % (command, res)) |