aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/git-post-receive-hook
diff options
context:
space:
mode:
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 1d682547..087f9133 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -1,8 +1,8 @@
#!/usr/bin/python2
-import sys
import os
import re
+import sys
LIBDIR = '<%= @gitolite_commonhooksdir %>'
sys.path.insert(0, LIBDIR)
@@ -183,7 +183,7 @@ class MageiaLinksRevision(git_multimail.Revision):
print "Updated bugzilla bugs: %s" % ", ".join(bugs['Mageia'])
except:
print "Unable to post to bugzilla bugs: %s :(" % ", ".join(bugs['Mageia'])
- pass
+ print sys.exc_info()[1]
break
m = COMMIT_RE.search(line)