aboutsummaryrefslogtreecommitdiffstats
path: root/app/app/config_binding_service/controller.py
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2018-10-25 13:44:19 -0400
committerTommy Carpenter <tommy@research.att.com>2018-10-25 13:59:43 -0400
commita9406879f68eca3237534656978f9129c67a7fc9 (patch)
tree497e0f407b7d0d0b38ce8936540384180c909004 /app/app/config_binding_service/controller.py
parent1066a3b45e4ad25b397796049eef0996d720b723 (diff)
Fix issue caused by flake8 upgrade
Issue-ID: DCAEGEN2-919 Change-Id: Id18b31751576cddbadcfd1d845c8e0e90dd3a49a Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'app/app/config_binding_service/controller.py')
-rw-r--r--app/app/config_binding_service/controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/app/config_binding_service/controller.py b/app/app/config_binding_service/controller.py
index 943837c..c2eb21c 100644
--- a/app/app/config_binding_service/controller.py
+++ b/app/app/config_binding_service/controller.py
@@ -36,7 +36,7 @@ def _get_helper(json_expecting_func, **kwargs):
response, status_code, mimetype = exc.response, exc.code, "text/plain"
except client.CantGetConfig as exc:
response, status_code, mimetype = exc.response, exc.code, "text/plain"
- except Exception as exc:
+ except Exception:
response, status_code, mimetype = "Unknown error", 500, "text/plain"
return response, status_code, mimetype