From d91f1b966327f6a3ce8bfd36551c8237b3346719 Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Tue, 30 Apr 2024 02:47:25 +0000 Subject: [PATCH] update src/cosalib/build.py. Signed-off-by: Caohongtao --- src/cosalib/build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cosalib/build.py b/src/cosalib/build.py index 9f735789..b83f2835 100644 --- a/src/cosalib/build.py +++ b/src/cosalib/build.py @@ -4,7 +4,6 @@ Provides a base abstration class for build reuse. import logging as log import os -import os.path import shutil import time import tempfile @@ -414,7 +413,7 @@ class _Build: self._build_artifacts(*args, **kwargs) log.info("Finished building artifacts") if len(self._found_files.keys()) == 0: - log.warn("There were no files found after building") + log.warning("There were no files found after building") def _build_artifacts(self, *args, **kwargs): """ -- Gitee