summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-03-06 21:30:27 +0100
committerOliver Poignant <oliver@poignant.se>2016-03-06 21:30:27 +0100
commit61289b58d2a0e61e7c3b8502c1bb45a3daac2014 (patch)
tree1f6cf3fb2acd2908b6fb35020d580ebce1933ae9 /GitAutoDeploy.py
parenta5e1a850987016af265c53c52189da28fee67581 (diff)
parent7b0379c66dc3c5268f60defce767e9a7893995b4 (diff)
downloadGit-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-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):