diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-30 13:40:15 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-02-12 13:40:30 -0500 |
commit | 37620c753acf540e3c16364419617ebeb0388c5b (patch) | |
tree | f624c3bda350729b83b23dd79c9d077c378f5ea3 /src/workflow/workflow_factory.py | |
parent | 33ce5acd438fbb81522fffeb81e2d1a58861b57f (diff) |
Fixed all Flake8 errors
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/workflow/workflow_factory.py')
-rw-r--r-- | src/workflow/workflow_factory.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/workflow/workflow_factory.py b/src/workflow/workflow_factory.py index 1f4a28a..f5e2ad1 100644 --- a/src/workflow/workflow_factory.py +++ b/src/workflow/workflow_factory.py @@ -12,7 +12,7 @@ from workflow.booking_workflow import Booking_Resource_Select, SWConfig_Select, from workflow.resource_bundle_workflow import Define_Hardware, Define_Nets, Resource_Meta_Info from workflow.sw_bundle_workflow import Config_Software, Define_Software, SWConf_Resource_Select from workflow.snapshot_workflow import Select_Host_Step, Image_Meta_Step -from workflow.models import Repository, Confirmation_Step +from workflow.models import Confirmation_Step import uuid @@ -35,6 +35,7 @@ class ConfigMetaWorkflow(object): workflow_type = 2 color = "#00ffcc" + class MetaStep(object): UNTOUCHED = 0 @@ -76,6 +77,7 @@ class MetaStep(object): def __ne__(self, other): return self.id.int != other.id.int + class Workflow(object): def __init__(self, steps, metasteps, repository): self.repository = repository @@ -83,6 +85,7 @@ class Workflow(object): self.metasteps = metasteps self.active_index = 0 + class WorkflowFactory(): booking_steps = [ Booking_Resource_Select, |