aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/git-post-receive-hook
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-11-17 16:37:16 +0000
committerColin Guthrie <colin@mageia.org>2014-11-17 16:37:16 +0000
commit452d2ee2a7a92fc48023a7cc002d5d543825784d (patch)
tree6ccfa7769e523adee7d8fd46667a81ea73772416 /deployment/mgagit/templates/git-post-receive-hook
parent2ec01cbfca0cebb809be77392c1be6d1720d904d (diff)
downloadpuppet-452d2ee2a7a92fc48023a7cc002d5d543825784d.tar
puppet-452d2ee2a7a92fc48023a7cc002d5d543825784d.tar.gz
puppet-452d2ee2a7a92fc48023a7cc002d5d543825784d.tar.bz2
puppet-452d2ee2a7a92fc48023a7cc002d5d543825784d.tar.xz
puppet-452d2ee2a7a92fc48023a7cc002d5d543825784d.zip
mgagit: Fix brown-paper-bag typo.
This really should fix git->bugzilla integration. mga#14585
Diffstat (limited to 'deployment/mgagit/templates/git-post-receive-hook')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index 2efe6755..3e2dbae0 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -121,12 +121,12 @@ class MageiaLinksRevision(git_multimail.Revision):
"""
try:
if self.token is not None:
- arg[0]['token'] = self.token
+ args[0]['token'] = self.token
return method(*args)
except xmlrpclib.Fault, fault:
# Fault code 410 means login required
if fault.faultCode == 410 and self.bugzilla_login():
- arg[0]['token'] = self.token
+ args[0]['token'] = self.token
return method(*args)
raise