Commit 92a9541
committed
strategy/common: add broken attribute to Strategy
This is the first step to broken state tracking for strategies.
A future commit will add a decorator to be used on the the strategy's
transition()/force() method that actually sets the exception and raises
it for subsequent calls
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent 4398da7 commit 92a9541
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
0 commit comments