summaryrefslogtreecommitdiffstats
path: root/dashboard/src/workflow/models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-30 13:40:15 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-02-12 13:40:30 -0500
commit0d596d5686c6348b12e091d94ef638d0bdb3eb0f (patch)
tree0b5ae08772b6a23bdd004931d6ca3de5df7b8e14 /dashboard/src/workflow/models.py
parent8ef0c2df68848f7c185ba226a3bc788c39297bb3 (diff)
Fixed all Flake8 errors
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/workflow/models.py')
-rw-r--r--dashboard/src/workflow/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/src/workflow/models.py b/dashboard/src/workflow/models.py
index 4e79546..21f3a8e 100644
--- a/dashboard/src/workflow/models.py
+++ b/dashboard/src/workflow/models.py
@@ -310,8 +310,8 @@ class Repository():
SNAPSHOT_DESC = "description of the snapshot"
BOOKING_INFO_FILE = "the INFO.yaml file for this user's booking"
- #migratory elements of segmented workflow
- #each of these is the end result of a different workflow.
+ # migratory elements of segmented workflow
+ # each of these is the end result of a different workflow.
HAS_RESULT = "whether or not workflow has a result"
RESULT_KEY = "key for target index that result will be put into in parent"
RESULT = "result object from workflow"
@@ -445,7 +445,7 @@ class Repository():
try:
interface.host = interface.host
interface.save()
- except Exception as e:
+ except Exception:
return "GRB, saving interface " + str(interface) + " failed. CODE:0x0019"
else:
return "GRB, no interface set provided. CODE:0x001a"