From c4d8935a57a15b7822fe50a5a82296fb7b3d0279 Mon Sep 17 00:00:00 2001 From: Christoph Otto Date: Tue, 28 Sep 2010 21:21:42 -0700 Subject: [PATCH] add a redirect to the hook so trac doesn't complain about sending an empty response --- github/github.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/github.py b/github/github.py index 1ae6df4..40cc4f9 100644 --- a/github/github.py +++ b/github/github.py @@ -294,4 +294,7 @@ def processCommitHook(self, req): except: self.env.log.debug("git fetch failed!") + self.env.log.debug("Redirect URL: %s" % req) + req.redirect(req) +