diff options
| author | Joshua Harlow <harlowja@yahoo-inc.com> | 2013-09-30 17:47:40 -0700 |
|---|---|---|
| committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2013-09-30 17:48:19 -0700 |
| commit | b348354d21297028e99e22830bddf484c49e6fbd (patch) | |
| tree | c5749205cfb1bf09e710d037849dc7e32d1b4e22 /taskflow/states.py | |
| parent | 5bc336a60c26c0e2e82898e6c61e68245e3c00c7 (diff) | |
| download | taskflow-b348354d21297028e99e22830bddf484c49e6fbd.tar.gz | |
Cleanup unused states
Not all the states are actively being used in any of
the taskflow code, so instead of keeping them around
lets just clean them up.
Fixes: bug 1232168
Change-Id: Ife92febe70692638bca4551766769a903273513f
Diffstat (limited to 'taskflow/states.py')
| -rw-r--r-- | taskflow/states.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/taskflow/states.py b/taskflow/states.py index 0ec3d5c..d35b48f 100644 --- a/taskflow/states.py +++ b/taskflow/states.py @@ -26,24 +26,19 @@ UNCLAIMED = 'UNCLAIMED' # Flow states. FAILURE = FAILURE -INTERRUPTED = 'INTERRUPTED' PENDING = 'PENDING' -RESUMING = 'RESUMING' REVERTING = 'REVERTING' REVERTED = 'REVERTED' RUNNING = RUNNING -STARTED = 'STARTED' SUCCESS = SUCCESS -CANCELLED = 'CANCELLED' -INCOMPLETE = 'INCOMPLETE' SUSPENDING = 'SUSPENDING' SUSPENDED = 'SUSPENDED' # Task states. FAILURE = FAILURE -STARTED = STARTED SUCCESS = SUCCESS -TIMED_OUT = 'TIMED_OUT' -CANCELLED = CANCELLED REVERTED = REVERTED REVERTING = REVERTING + +# TODO(harlowja): use when we can timeout tasks?? +TIMED_OUT = 'TIMED_OUT' |
