def activate(self, timeout=None):
    ' Activate the watchdog, with optional timeout change '
    assert self.installed, 'WatchDog must be installed before activating'
    if timeout:
        self.timeout = timeout
    self.reset()
    self.active = True
Activate the watchdog, with optional timeout change
def activate(self, timeout=None):
    '  '
    assert self.installed, 'WatchDog must be installed before activating'
    if timeout:
        self.timeout = timeout
    self.reset()
    self.active = True