def reset(self):
        """Reset the attempt counter"""
        self._attempts = 0
        self._cur_delay = self.delay
        self._cur_stoptime = None
def reset ( self ) : self . _attempts = 0 self . _cur_delay = self . delay self . _cur_stoptime = None
Reset the attempt counter