diff options
author | Colin Guthrie <colin@mageia.org> | 2014-02-10 10:28:58 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-02-10 10:28:58 +0000 |
commit | ad0f39ebdf9f60dffc4765751014c3219d11dc31 (patch) | |
tree | 7cebbfc58c495016f0d19b5a8297b2db605ac4ef /deployment | |
parent | d73622e645dc43d6e55630ac50d915ecc58aba08 (diff) | |
download | puppet-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-x | deployment/mgagit/templates/git-post-receive-hook | 2 |
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 |