Skip to content

Commit

Permalink
Merge pull request #7553 from tdesveaux/issues/7488
Browse files Browse the repository at this point in the history
changes: remove HgPoller._stopOnFailure unused arg
  • Loading branch information
p12tic committed May 2, 2024
2 parents cabb122 + ef08514 commit 07fecfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions master/buildbot/changes/hgpoller.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,8 @@ def _processBranchChanges(self, new_rev, branch):
# but at once to avoid impact from later errors
yield self._setCurrentRev(new_rev, branch)

def _stopOnFailure(self, f):
def _stopOnFailure(self):
"utility method to stop the service when a failure occurs"
if self.running:
d = defer.maybeDeferred(self.stopService)
d.addErrback(log.err, 'while stopping broken HgPoller service')
return f

0 comments on commit 07fecfb

Please sign in to comment.