summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorAlexander Nestorov <alexandernst@gmail.com>2014-11-20 10:53:21 +0100
committerAlexander Nestorov <alexandernst@gmail.com>2014-11-20 10:53:21 +0100
commit1d528cb237354103c26e8b12bce5af6c947b8595 (patch)
tree994eea56fb7c8e868cb25d8ab04cdb6c8f93af89 /GitAutoDeploy.py
parent2a1eaa0384ce9d6a8209bdde62bc357123db26dc (diff)
parent5e8234b7a161d49ef7c0704a9877b3b8b3c29151 (diff)
downloadGit-Auto-Deploy-1d528cb237354103c26e8b12bce5af6c947b8595.zip
Git-Auto-Deploy-1d528cb237354103c26e8b12bce5af6c947b8595.tar.gz
Git-Auto-Deploy-1d528cb237354103c26e8b12bce5af6c947b8595.tar.bz2
Merge pull request #21 from BOFHers/master
Fix invalid syntax
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py
index 334b8b6..bae734d 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -79,7 +79,7 @@ class GitAutoDeploy(BaseHTTPRequestHandler):
elif mode == "bitbucket":
for itemString in post['payload']:
item = json.loads(itemString)
- items.append("ssh://hg@bitbucket.org" + item['repository']['absolute_url'][0:-1]))
+ items.append("ssh://hg@bitbucket.org" + item['repository']['absolute_url'][0:-1])
# Otherwise, we assume github/bitbucket syntax.
elif mode == "gitlab":