Mercurial > hg > autobot
changeset 261:0927a07dfab3
remove commentted code
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 28 Dec 2011 20:43:53 -0800 |
parents | d08050b4c858 |
children | 5cd95c967f70 |
files | autobot/changes/poller.py |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/changes/poller.py Wed Dec 28 16:59:29 2011 -0800 +++ b/autobot/changes/poller.py Wed Dec 28 20:43:53 2011 -0800 @@ -64,28 +64,6 @@ self.name = '%s: %s#%s' % (self.__class__.__name__, repourl, branch) -# XXX this is commented out because of race conditions on startup -# instead, the repository is just made if it doesn't exist - -# def startService(self): - -# base.PollingChangeSource.startService(self) - -# # initialize the repository we'll use to get changes; note that -# # startService is not an event-driven method, so this method will -# # instead acquire self.initLock immediately when it is called. -# if not self.isInitialized(): -# log.msg('Initializing new repository') -# d = self.initRepository() -# d.addErrback(log.err, 'while initializing %s repository at %s' % (self.name, self.workdir)) -# else: -# log.msg("%s repository already exists" % self.name) - -# log.msg("%s startService with repository %s" % (self.name, self.workdir)) - -# # call this *after* initRepository, so that the initLock is locked first - - def initRepository(self, _): """initialize a repository or whatever"""