[Divmod-commits] r12951 - maybe this is a little bit less simpler
Jp Calderone
exarkun at divmod.org
Tue Jul 10 17:52:40 EDT 2007
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Author: exarkun
Date: Tue Jul 10 17:52:39 2007
New Revision: 12951
Added:
sandbox/exarkun/commit-bot/message
sandbox/exarkun/commit-bot/message.py
Modified:
sandbox/exarkun/commit-bot/commit_bot.py
Log:
maybe this is a little bit less simpler
Modified: sandbox/exarkun/commit-bot/commit_bot.py
==============================================================================
--- sandbox/exarkun/commit-bot/commit_bot.py (original)
+++ sandbox/exarkun/commit-bot/commit_bot.py Tue Jul 10 17:52:39 2007
@@ -6,14 +6,14 @@
import config
# XXX Plugins or something, jeez stupid.
-import commit, ticket, alert
+import commit, ticket, alert, message
-class Notifications(pb.Root, commit.RepositoryChangeListener, ticket.TicketChangeListener, alert.MuninAlertListener):
+class Notifications(pb.Root, commit.RepositoryChangeListener, ticket.TicketChangeListener, alert.MuninAlertListener, message.MessageListener):
def __init__(self, proto):
self.proto = proto
-class CommitBot(irc.IRCClient, commit.RepositoryChange, ticket.TicketChange, ticket.TicketReview, alert.MuninAlert):
+class CommitBot(irc.IRCClient, commit.RepositoryChange, ticket.TicketChange, ticket.TicketReview, alert.MuninAlert, message.Message):
nickname = config.BOT_NICK
password = config.BOT_PASS
More information about the Divmod-commits
mailing list