# HG changeset patch # User Jeff Hammel # Date 1325135218 28800 # Node ID a13749f1906791714a08044eea42944b1ce0eac7 # Parent 5cd95c967f7043c4756f0d2508ad91b24000281f cleanup and remove commented code diff -r 5cd95c967f70 -r a13749f19067 autobot/changes/poller.py --- a/autobot/changes/poller.py Wed Dec 28 21:00:25 2011 -0800 +++ b/autobot/changes/poller.py Wed Dec 28 21:06:58 2011 -0800 @@ -28,7 +28,7 @@ them to the change master. """ - src = '' + src = '' # repository type compare_attrs = ["repourl", "branch", "workdir", "pollInterval", "binary", "usetimestamps", @@ -79,9 +79,8 @@ # perform the initialization def processCommand(command): d = utils.getProcessOutputAndValue(self.binary, - command, env=dict(PATH=os.environ['PATH'])) -# d.addCallback(self._convert_nonzero_to_failure) -# d.addErrback(self._stop_on_failure) + command, + env=dict(PATH=os.environ['PATH'])) return d for command in self.initializationCommands(): self.log('%s %s' % (self.binary, ' '.join(command))) @@ -258,7 +257,7 @@ class HgPoller(Poller): """poller for a mercurial source""" - src = 'hg' + src = 'hg' # type def __init__(self, repourl, binary='hg', branch='default', **kwargs): Poller.__init__(self, repourl, binary=binary, branch=branch, **kwargs)