From 5748f161ef9394e1a7c7cffb743e40933e82cb73 Mon Sep 17 00:00:00 2001 From: Alireza Aghamohammadi Date: Thu, 28 Dec 2023 18:38:38 +0330 Subject: [PATCH 1/2] Hotfix: the package generate too logs --- src/pysolorie/logger.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pysolorie/logger.py b/src/pysolorie/logger.py index 76e8f54..8a5a50a 100644 --- a/src/pysolorie/logger.py +++ b/src/pysolorie/logger.py @@ -26,9 +26,7 @@ def logger_decorator(func): def wrapper(self, *args, **kwargs): self.logger = logging.getLogger(func.__name__) self.logger.setLevel(logging.INFO) - self.logger.info(f"Running '{func.__name__}'") result = func(self, *args, **kwargs) - self.logger.info(f"Finished '{func.__name__}'") return result return wrapper From f5283f53b63d7d93e2b213e0ffae31a490d449b6 Mon Sep 17 00:00:00 2001 From: Alireza Aghamohammadi Date: Thu, 28 Dec 2023 18:47:49 +0330 Subject: [PATCH 2/2] ready to publish v1.5.4 --- docs/changelog.rst | 10 ++++++++++ setup.cfg | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 3ef799c..cfc1ee2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,16 @@ Changelog ========= +Version 1.5.4 +------------- + +Release date: 2023-12-28 + +Fixed +^^^^^ +- Removed the logs of unnecessary function calls. + + Version 1.5.3 ------------- diff --git a/setup.cfg b/setup.cfg index 71f65d6..cb44c6c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pysolorie -version = 1.5.3 +version = 1.5.4 description = Orientation Analysis of Solar Panel long_description = file: README.md long_description_content_type = text/markdown