From a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 17 Jun 2015 11:28:57 -0700 Subject: 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 --- tools/state_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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' -- cgit v1.2.1