コード例 #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,
     }
コード例 #2
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,
     }
コード例 #3
0
 def start(self):
     if not self._update():
         return
     self.last_commit = self.git.latest_git_commit()
     SingleServerIRCBot.start(self)
コード例 #4
0
 def start(self):
     if not self._update():
         return
     self.last_commit = self.git.latest_git_commit()
     SingleServerIRCBot.start(self)