diff options
author | 2019-02-18 17:07:47 +0000 | |
---|---|---|
committer | 2019-02-18 17:07:47 +0000 | |
commit | 011026903a94944258bf8c69aeb2700c6c57b02e (patch) | |
tree | 6d0426658a4a34d1d2af879170aaaad0db65695b /src/workflow/models.py | |
parent | 0b48d9b6cb6941a9cecedc409ec0968d0b72ec62 (diff) | |
parent | 37620c753acf540e3c16364419617ebeb0388c5b (diff) |
Merge "Fixed all Flake8 errors"
Diffstat (limited to 'src/workflow/models.py')
-rw-r--r-- | src/workflow/models.py | 6 |
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" |