From 8a568cdad937b8e1f0eb8da2e7f12ca42dc5c627 Mon Sep 17 00:00:00 2001 From: Lyon_Rosenblatt <48656065+lyon040502003@users.noreply.github.com> Date: Fri, 21 Jun 2024 09:00:55 +0200 Subject: [PATCH] fixed build pipline. error: logger log lvl set in an outdated way, mange.sh moved -v flag to create_package.py --- create_package.py | 3 ++- tools/manage.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/create_package.py b/create_package.py index f4ba861..e5128ce 100644 --- a/create_package.py +++ b/create_package.py @@ -384,7 +384,8 @@ def main( """ logging.basicConfig(level=logging.INFO) - log = logging.getLogger("create_package", level=logging.INFO) + log = logging.getLogger("create_package") + log.setLevel(logging.INFO) log.info("Start creating package") diff --git a/tools/manage.sh b/tools/manage.sh index 2ea17b6..dd427fe 100644 --- a/tools/manage.sh +++ b/tools/manage.sh @@ -178,7 +178,7 @@ run_codespell () { build () { echo -e "${BIGreen}>>>${RST} Building the addon ..." - python ./create_package.py -v + python ./create_package.py } @@ -230,4 +230,4 @@ main () { return_code=0 main "$@" || return_code=$? -exit $return_code \ No newline at end of file +exit $return_code