summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-03-06 21:17:51 +0100
committerOliver Poignant <oliver@poignant.se>2016-03-06 21:17:51 +0100
commit7b0379c66dc3c5268f60defce767e9a7893995b4 (patch)
tree1f6cf3fb2acd2908b6fb35020d580ebce1933ae9 /GitAutoDeploy.py
parentcb07ff7f12ca09dea3cfa2926a7fa04c7bea9813 (diff)
downloadGit-Auto-Deploy-7b0379c66dc3c5268f60defce767e9a7893995b4.zip
Git-Auto-Deploy-7b0379c66dc3c5268f60defce767e9a7893995b4.tar.gz
Git-Auto-Deploy-7b0379c66dc3c5268f60defce767e9a7893995b4.tar.bz2
Fixed new issue with GitWrapper
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py8
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):