From 031694bad1802a75918b9b97d5c34faac729f0c6 Mon Sep 17 00:00:00 2001 From: Alexander Mazuruk Date: Wed, 7 Apr 2021 03:46:39 +0200 Subject: Dependencies update: PyYAML to 5.4 PyYAML changelog: https://github.com/yaml/pyyaml/blob/master/CHANGES Additionally resolved deprecation warnings from PyYAML. Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk Change-Id: Ifb06a8a32417e7b4d8fad2b509bc76cbcbc20c55 --- miss_htbt_service/misshtbtd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'miss_htbt_service/misshtbtd.py') diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py index 0edc76e..f131cd1 100644 --- a/miss_htbt_service/misshtbtd.py +++ b/miss_htbt_service/misshtbtd.py @@ -3,6 +3,7 @@ # Copyright (c) 2017-2020 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. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -225,7 +226,7 @@ def db_monitoring_process(current_pid,jsfile): def read_hb_properties_default(): #Read the hbproperties.yaml for postgress and CBS related data s=open(hb_properties_file, 'r') - a=yaml.load(s) + a=yaml.full_load(s) if((os.getenv('pg_ipAddress') is None) or (os.getenv('pg_portNum') is None) or (os.getenv('pg_userName') is None) or (os.getenv('pg_passwd') is None)): ip_address = a['pg_ipAddress'] -- cgit 1.2.3-korg