diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-05-07 19:36:37 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-05-07 19:36:37 +0200 |
commit | 703ff62ad8e386e7d9c0e545f60e46fff93ea8e5 (patch) | |
tree | cd5865d5cf6305f75f15a5187e267ca74abbc48f /gitautodeploy/wrappers/git.py | |
parent | e5caf489f037c21e2bc43fd7cdad020942e86589 (diff) | |
download | Git-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.zip Git-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.tar.gz Git-Auto-Deploy-703ff62ad8e386e7d9c0e545f60e46fff93ea8e5.tar.bz2 |
Support for detailed HTTP responses. Improved error handling.
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index ec4246e..63a94fc 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -54,5 +54,8 @@ class GitWrapper(): # Use repository path as default cwd when executing deploy commands cwd = (repo_config['path'] if 'path' in repo_config else None) + res = [] for cmd in repo_config['deploy_commands']: - ProcessWrapper().call([cmd], cwd=cwd, shell=True)
\ No newline at end of file + res.append(ProcessWrapper().call([cmd], cwd=cwd, shell=True)) + + return res
\ No newline at end of file |