aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/misshtbtd.py
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2023-01-09 15:05:56 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2023-01-09 15:10:27 +0000
commitbe25ac706aebde77865996223e14658d36618248 (patch)
tree65659635030215f9d8f51c69b0ac2bd8e6ef2f83 /miss_htbt_service/misshtbtd.py
parentaefdb1d11b1f36750438487fe1da85911acca4c6 (diff)
Fix black reported error in rls job2.6.0
Change-Id: I5b3b04214ca2a53a23df170bfbfd25c768dc8ac2 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3321 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'miss_htbt_service/misshtbtd.py')
-rw-r--r--miss_htbt_service/misshtbtd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py
index 23d4835..1b96f38 100644
--- a/miss_htbt_service/misshtbtd.py
+++ b/miss_htbt_service/misshtbtd.py
@@ -126,6 +126,7 @@ def create_update_hb_common(update_flg, process_id, state, user_name, password,
heartbeat.commit_and_close_db(connection_db)
cur.close()
+
def db_table_creation_check(connection_db, table_name):
cur = connection_db.cursor()
try:
@@ -141,7 +142,8 @@ def db_table_creation_check(connection_db, table_name):
_logger.error(msg)
finally:
cur.close()
-
+
+
def create_update_vnf_table_1(jsfile, update_db, connection_db):
with open(jsfile, "r") as outfile:
cfg = json.load(outfile)
@@ -375,7 +377,6 @@ def create_process(job_list, jsfile, pid_current):
return job_list
-
def main():
get_logger.configure_logger("misshtbtd")
pid_current = os.getpid()