Example #1
0
 def watchedBuildFinished(self, b):
     if 'owner' in b.properties:
         self.send('%s, check this out:' % b.properties['owner'])
     IRCContact.watchedBuildFinished(self, b)
Example #2
0
		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)
Example #3
0
 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);
Example #4
0
 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)