aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index cf7404e2..f0efaf9c 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -188,7 +188,7 @@ if __name__ == '__main__':
req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname() + '.git')
req.add_header('Content-Type', 'x-git/repo')
fp = urllib2.urlopen(req)
- if (fp)
+ if (fp):
fp.close()
except Exception:
pass