Beispiel #1
0
 def __init__(self, tool, irc_password):
     SingleServerIRCBot.__init__(self, [(server, port, irc_password)], nickname, nickname)
     self.git = Git(cwd=tool.scm().checkout_root, filesystem=tool.filesystem, executive=tool.executive)
     self.commands = {
         'help': self.help,
         'quit': self.stop,
     }
 def __init__(self, tool, irc_password):
     SingleServerIRCBot.__init__(self, [(server, port, irc_password)],
                                 nickname, nickname)
     self.git = Git(cwd=tool.scm().checkout_root,
                    filesystem=tool.filesystem,
                    executive=tool.executive)
     self.commands = {
         'help': self.help,
         'quit': self.stop,
     }
Beispiel #3
0
 def start(self):
     if not self._update():
         return
     self.last_commit = self.git.latest_git_commit()
     SingleServerIRCBot.start(self)
 def start(self):
     if not self._update():
         return
     self.last_commit = self.git.latest_git_commit()
     SingleServerIRCBot.start(self)