diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-06-17 11:28:57 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-07-10 18:12:48 -0700 |
commit | a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c (patch) | |
tree | ac21cb738503b555f75e756397539c043524d799 /tools | |
parent | 5fb62f3864e4a35d6b5e9401e9aa2b94b28d7c58 (diff) | |
download | taskflow-a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c.tar.gz |
Retain atom 'revert' result (or failure)
When a atom is reverted it can be useful to retain the
result of that 'revert' method being called, so that it
can be later analyzed (or used for various purposes) so
adjust the storage, and actions to enable it to be stored.
Change-Id: I38a9a5f3bf7550e924468bb4a86652cb8beb306c
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/state_graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/state_graph.py b/tools/state_graph.py index c37cd70..635ec68 100755 --- a/tools/state_graph.py +++ b/tools/state_graph.py @@ -68,7 +68,7 @@ def make_machine(start_state, transitions): def map_color(internal_states, state): if state in internal_states: return 'blue' - if state == states.FAILURE: + if state in (states.FAILURE, states.REVERT_FAILURE): return 'red' if state == states.REVERTED: return 'darkorange' |