~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/model/builder.py

  • Committer: Raphael Badin
  • Date: 2012-01-06 15:24:37 UTC
  • mto: This revision was merged to the branch mainline in revision 14654.
  • Revision ID: raphael.badin@canonical.com-20120106152437-xnotweoks4b2jj0b
Fix doctest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
480
480
    def gotFailure(self):
481
481
        """See `IBuilder`."""
482
482
        self.failure_count += 1
 
483
        self._clean_currentjob_cache()
483
484
 
484
485
    def resetFailureCount(self):
485
486
        """See `IBuilder`."""
486
487
        self.failure_count = 0
 
488
        self._clean_currentjob_cache()
487
489
 
488
490
    def rescueIfLost(self, logger=None):
489
491
        """See `IBuilder`."""