def __init__(self, clock, app): LeaderElectionMixin.__init__(self, clock, vote_delay=2) self._app = app