def watchedBuildFinished(self, b): if 'owner' in b.properties: self.send('%s, check this out:' % b.properties['owner']) IRCContact.watchedBuildFinished(self, b)
def handleMessageAccess(canAccess, self, message, who): if canAccess: IRCContact.handleMessage(self, message, who) else: self.send("%s: Sorry, you're not allowed to use this command" % who)
def __init__(self, channel, dest): log.msg('Contact created') IRCContact.__init__(self, channel, dest) # MEMLEAK(?): subscribing but not clear where to unsubscribe heldBuilds().subscribe(self);