diff options
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): |