diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-05-05 21:22:03 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-05-05 21:22:03 +0200 |
commit | e614d788fa92718a704efc64bea104aa0be8927a (patch) | |
tree | 90abbde99293d271723c95b50408ec9359a6b064 /gitautodeploy/wrappers/git.py | |
parent | 70f8d7d01873e8d66b9a3ce7497f2f857e573984 (diff) | |
download | Git-Auto-Deploy-e614d788fa92718a704efc64bea104aa0be8927a.zip Git-Auto-Deploy-e614d788fa92718a704efc64bea104aa0be8927a.tar.gz Git-Auto-Deploy-e614d788fa92718a704efc64bea104aa0be8927a.tar.bz2 |
Ability to start GAD in a mode where it serves only one incoming request and then quits
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index 98a7361..ec4246e 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -36,7 +36,8 @@ class GitWrapper(): @staticmethod def clone(url, branch, path): from process import ProcessWrapper - ProcessWrapper().call(['git clone --recursive ' + url + ' -b ' + branch + ' ' + path], shell=True) + res = ProcessWrapper().call(['git clone --recursive ' + url + ' -b ' + branch + ' ' + path], shell=True) + return int(res) @staticmethod def deploy(repo_config): |