From ae8cd56e943321bd5a2ea2ad3a3142adf63eb55a Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Thu, 29 Sep 2011 03:36:32 +0200 Subject: [PATCH] Requests can come from in house repos! --- ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ping.py b/ping.py index 8a01113..bb4af6a 100644 --- a/ping.py +++ b/ping.py @@ -41,7 +41,7 @@ class ping: self.log("Repository URL " + data['repository']['url'] + "not allowed, exiting.") exit() - #self.update_repo(data) + #self.update_repo(data) # temp disabled self.send_to_irc(data) return "thank you :-)" @@ -64,7 +64,7 @@ class ping: who.add(commit['author']['username']) who = ", ".join(who) - return "Github repo \'{0}\': {1} by {2}".format(data['repository']['name'], + return "Git commit: \'{0}\': {1} by {2}".format(data['repository']['name'], data['compare'], who)