diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-02-18 17:07:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-02-18 17:07:47 +0000 |
commit | 16f1c65ac45a519a7ed710bca3068d6433fb2522 (patch) | |
tree | 9564805587db5513a73d7383804ac49787a32e88 /dashboard/src/workflow/booking_workflow.py | |
parent | 55653461319fdc51bac52367a2776068165a4b6d (diff) | |
parent | 0d596d5686c6348b12e091d94ef638d0bdb3eb0f (diff) |
Merge "Fixed all Flake8 errors"
Diffstat (limited to 'dashboard/src/workflow/booking_workflow.py')
-rw-r--r-- | dashboard/src/workflow/booking_workflow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/src/workflow/booking_workflow.py b/dashboard/src/workflow/booking_workflow.py index 76950b8..8be7720 100644 --- a/dashboard/src/workflow/booking_workflow.py +++ b/dashboard/src/workflow/booking_workflow.py @@ -115,7 +115,7 @@ class Booking_Resource_Select(Resource_Select): if resource: try: booking.resource.template = resource - except: + except Exception: booking.resource = ResourceBundle(template=resource) models['booking'] = booking self.repo_put(self.repo.BOOKING_MODELS, models) @@ -182,7 +182,7 @@ class SWConfig_Select(WorkflowStep): chosen_bundle = booking.config_bundle default.append(chosen_bundle.id) bundle = chosen_bundle - except: + except Exception: if created_bundle: default.append(created_bundle.id) bundle = created_bundle |