aboutsummaryrefslogtreecommitdiffstats
path: root/src/workflow/models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-02-18 17:07:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-02-18 17:07:47 +0000
commit011026903a94944258bf8c69aeb2700c6c57b02e (patch)
tree6d0426658a4a34d1d2af879170aaaad0db65695b /src/workflow/models.py
parent0b48d9b6cb6941a9cecedc409ec0968d0b72ec62 (diff)
parent37620c753acf540e3c16364419617ebeb0388c5b (diff)
Merge "Fixed all Flake8 errors"
Diffstat (limited to 'src/workflow/models.py')
-rw-r--r--src/workflow/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/workflow/models.py b/src/workflow/models.py
index beaaee4..7dae279 100644
--- a/src/workflow/models.py
+++ b/src/workflow/models.py
@@ -323,8 +323,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"
@@ -458,7 +458,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"