remove some log.debug statements
in order to sync with frappy@mlz Change-Id: Iab89cb313fb6969c91663b8ebc56bdcb96ed2dd1
This commit is contained in:
@@ -186,7 +186,6 @@ class StateMachine:
|
|||||||
ret = self.state(self)
|
ret = self.state(self)
|
||||||
self.init = False
|
self.init = False
|
||||||
if self.stopped:
|
if self.stopped:
|
||||||
self.log.debug('%r', self.stopped)
|
|
||||||
self.last_error = self.stopped
|
self.last_error = self.stopped
|
||||||
self.cleanup(self)
|
self.cleanup(self)
|
||||||
self.stopped = False
|
self.stopped = False
|
||||||
@@ -269,7 +268,6 @@ class StateMachine:
|
|||||||
self.stopped = Restart
|
self.stopped = Restart
|
||||||
with self._lock: # wait for running cycle finished
|
with self._lock: # wait for running cycle finished
|
||||||
if self.stopped: # cleanup is not yet done
|
if self.stopped: # cleanup is not yet done
|
||||||
self.log.debug('restart')
|
|
||||||
self.last_error = self.stopped
|
self.last_error = self.stopped
|
||||||
self.cleanup(self) # ignore return state on restart
|
self.cleanup(self) # ignore return state on restart
|
||||||
self.stopped = False
|
self.stopped = False
|
||||||
|
|||||||
Reference in New Issue
Block a user