diff --git a/src/cosalib/build.py b/src/cosalib/build.py index 9f735789151bb442e770165b781484b1b191d49f..b83f2835717f1a98b3334d826d2ac30d6c928645 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): """