Merge "Remove argument from gerritwatcher cancel"

This commit is contained in:
Zuul 2021-06-09 20:46:51 +00:00 committed by Gerrit Code Review
commit c2f985e47c
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ class GerritWatcher(threading.Thread):
self.log.debug("Stopping watcher")
self._stopped = True
self._stop_event.set()
self.watcher_election.cancel(self._run)
self.watcher_election.cancel()
class GerritPoller(threading.Thread):