aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-02-10 10:28:58 +0000
committerColin Guthrie <colin@mageia.org>2014-02-10 10:28:58 +0000
commitad0f39ebdf9f60dffc4765751014c3219d11dc31 (patch)
tree7cebbfc58c495016f0d19b5a8297b2db605ac4ef /deployment
parentd73622e645dc43d6e55630ac50d915ecc58aba08 (diff)
downloadpuppet-ad0f39ebdf9f60dffc4765751014c3219d11dc31.tar
puppet-ad0f39ebdf9f60dffc4765751014c3219d11dc31.tar.gz
puppet-ad0f39ebdf9f60dffc4765751014c3219d11dc31.tar.bz2
puppet-ad0f39ebdf9f60dffc4765751014c3219d11dc31.tar.xz
puppet-ad0f39ebdf9f60dffc4765751014c3219d11dc31.zip
mgagit: Python typo
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