From cc35f0b1a8a65f431548c68e84e2cfc029cdbd1e Mon Sep 17 00:00:00 2001 From: niraj gupta Date: Tue, 16 Jan 2024 16:56:31 -0800 Subject: [PATCH] fix studio custom data logging Change-Id: Iccbd9a1f82c63cd34e335920c3f87173da30e580 --- cloudvision/cvlib/studio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudvision/cvlib/studio.py b/cloudvision/cvlib/studio.py index 875fefcd..c7bad1bb 100644 --- a/cloudvision/cvlib/studio.py +++ b/cloudvision/cvlib/studio.py @@ -160,10 +160,10 @@ def retrieve(self, studioId: str = "", path: List[str] = [], searchKey: str = "" data = self.context.Get(storagePath, [], "cvp") except InvalidContextException as e: self.context.logger.info( - self, "custom data not found in build: {}".format(e.message)) + self.context, "custom data not found in build: {}".format(e.message)) # get data from mainline if data is not generated during build. if not data: - self.context.logger.info(self, "reading custom data from mainline.") + self.context.logger.info(self.context, "reading custom data from mainline.") storagePath = self.__getMainlinePath(studioId, path, searchKey) data = self.context.Get(storagePath, [], "cvp") return ''.join(data[k] for k in