aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/mod/trapd_http_session.py
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2022-08-19 12:56:56 +0000
committerHansen, Tony (th1395) <th1395@att.com>2022-08-19 12:57:10 +0000
commitdac22d93c804780f2dc20164aeb44fc80a30890d (patch)
tree7bd19b04ffa5e8fb049068d9de79778eeed140de /miss_htbt_service/mod/trapd_http_session.py
parent554b15356ef100a3617f7f5415f6a35ac2b3ebba (diff)
lots of cleanup, no functional code changes
Change-Id: I9eefe4d34ae226bbd5a6f80422f89baeeaeb3471 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2837
Diffstat (limited to 'miss_htbt_service/mod/trapd_http_session.py')
-rw-r--r--miss_htbt_service/mod/trapd_http_session.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/miss_htbt_service/mod/trapd_http_session.py b/miss_htbt_service/mod/trapd_http_session.py
index fc7e865..17eb302 100644
--- a/miss_htbt_service/mod/trapd_http_session.py
+++ b/miss_htbt_service/mod/trapd_http_session.py
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2022 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,7 +23,6 @@ __docformat__ = "restructuredtext"
import os
import requests
-import traceback
prog_name = os.path.basename(__file__)
@@ -48,7 +47,7 @@ def init_session_obj():
try:
_loc_session = requests.Session()
- except Exception as e:
+ except Exception:
return None
return _loc_session