diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-03-06 21:30:27 +0100 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-03-06 21:30:27 +0100 |
commit | 61289b58d2a0e61e7c3b8502c1bb45a3daac2014 (patch) | |
tree | 1f6cf3fb2acd2908b6fb35020d580ebce1933ae9 /GitAutoDeploy.py | |
parent | a5e1a850987016af265c53c52189da28fee67581 (diff) | |
parent | 7b0379c66dc3c5268f60defce767e9a7893995b4 (diff) | |
download | Git-Auto-Deploy-61289b58d2a0e61e7c3b8502c1bb45a3daac2014.zip Git-Auto-Deploy-61289b58d2a0e61e7c3b8502c1bb45a3daac2014.tar.gz Git-Auto-Deploy-61289b58d2a0e61e7c3b8502c1bb45a3daac2014.tar.bz2 |
Merge pull request #72 from olipo186/developmentv0.1.1
Fixed issue with GitWrapper
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-x | GitAutoDeploy.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py index fa80e9b..7deddac 100755 --- a/GitAutoDeploy.py +++ b/GitAutoDeploy.py @@ -141,13 +141,7 @@ class GitWrapper(): @staticmethod def clone(url, branch, path): - from subprocess import call - ProcessWrapper().call(['git', - 'clone', - '--recursive', - url, - '-b', branch, - path], shell=True) + ProcessWrapper().call(['git clone --recursive ' + url + ' -b ' + branch + ' ' + path], shell=True) @staticmethod def deploy(repo_config): |