From 16abf444d228c675f98d6802f23802fc2db1ca71 Mon Sep 17 00:00:00 2001 From: Arham-Nasir Date: Thu, 31 Oct 2024 02:23:25 +0500 Subject: [PATCH] update hostcfgd code Signed-off-by: Arham-Nasir --- scripts/hostcfgd | 2 -- tests/hostcfgd/hostcfgd_test.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/hostcfgd b/scripts/hostcfgd index 58b9501e..c3501c90 100644 --- a/scripts/hostcfgd +++ b/scripts/hostcfgd @@ -1717,8 +1717,6 @@ class FipsCfg(object): syslog.syslog(syslog.LOG_INFO, f'FipsCfg: update the FIPS enforce option {self.enforce}.') loader.set_fips(image, self.enforce) -print(swsscommon.__file__) - class MemoryStatisticsCfg: """ MemoryStatisticsCfg class handles the configuration updates for the MemoryStatisticsDaemon. diff --git a/tests/hostcfgd/hostcfgd_test.py b/tests/hostcfgd/hostcfgd_test.py index 96900f95..f7a0d916 100644 --- a/tests/hostcfgd/hostcfgd_test.py +++ b/tests/hostcfgd/hostcfgd_test.py @@ -12,6 +12,7 @@ from pyfakefs.fake_filesystem_unittest import patchfs from deepdiff import DeepDiff from unittest.mock import call +import syslog test_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) modules_path = os.path.dirname(test_path)