From b01f3c4c571b942d5b7b474625be137a298df74d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Sat, 29 Mar 2014 20:16:30 -0700 Subject: [PATCH] Move state link to developer docs The state wiki has been moved/deprecated and the developer docs at http://docs.openstack.org/developer are now the better source of this information. Update the code to follow the new and improved link. Change-Id: If0ce7be53d7741015aa738cfd6e0c2c708a22c6d --- taskflow/states.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taskflow/states.py b/taskflow/states.py index 26ff18a0..74b056c2 100644 --- a/taskflow/states.py +++ b/taskflow/states.py @@ -53,7 +53,7 @@ TIMED_OUT = 'TIMED_OUT' ## Flow state transitions -# https://wiki.openstack.org/wiki/TaskFlow/States_of_Task_and_Flow#Flow_States +# See: http://docs.openstack.org/developer/taskflow/states.html _ALLOWED_FLOW_TRANSITIONS = frozenset(( (PENDING, RUNNING), # run it! @@ -124,7 +124,7 @@ def check_flow_transition(old_state, new_state): ## Task state transitions -# https://wiki.openstack.org/wiki/TaskFlow/States_of_Task_and_Flow#Task_States +# See: http://docs.openstack.org/developer/taskflow/states.html _ALLOWED_TASK_TRANSITIONS = frozenset(( (PENDING, RUNNING), # run it!