diff options
author | 2021-07-21 18:03:16 +0000 | |
---|---|---|
committer | 2021-07-21 19:57:47 +0000 | |
commit | c2c6ff8aa475ebeaf55681c3836ba41a62782d09 (patch) | |
tree | 31080aebc0502f39ab456eb69f3e5d214ee5fc87 /miss_htbt_service/misshtbtd.py | |
parent | b3bbb06443128982f367c7bc169a319072ed066b (diff) |
Switch to 2.2.1 CBS client lib2.3.1
Change-Id: Id4569bf141dc7c48e15eed5d624042e498dde4ea
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2852
Signed-off-by: vv770d <vv770d@att.com>
Diffstat (limited to 'miss_htbt_service/misshtbtd.py')
-rw-r--r-- | miss_htbt_service/misshtbtd.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py index 89ae05f..0ebffe7 100644 --- a/miss_htbt_service/misshtbtd.py +++ b/miss_htbt_service/misshtbtd.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # ============LICENSE_START======================================================= -# Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved. # Copyright (c) 2019 Pantheon.tech. All rights reserved. # Copyright 2020 Deutsche Telekom. All rights reserved. # Copyright 2021 Samsung Electronics. All rights reserved. @@ -239,7 +239,7 @@ def read_hb_properties(jsfile): with open(jsfile, 'r') as outfile: cfg = json.load(outfile) except Exception as err: - msg = "CBS Json file load error - ", err + msg = "CBS Json file load error - " + str(err) _logger.error(msg) return read_hb_properties_default() @@ -259,7 +259,7 @@ def read_hb_properties(jsfile): if "SERVICE_NAME" in cfg: os.environ['SERVICE_NAME'] = str(cfg['SERVICE_NAME']) except Exception as err: - msg = "CBS Json file read parameter error - ", err + msg = "CBS Json file read parameter error - " + str(err) _logger.error(msg) return read_hb_properties_default() return ip_address, port_num, user_name, password, db_name, cbs_polling_required, cbs_polling_interval |