aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/archive.py
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-09 11:50:04 +0500
committerEgor Tensin <egor@tensin.name>2026-10-09 11:50:04 +0500
commitfef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a (patch)
tree033ad4cf0861f5ab9f7e488a505852de3d0b9aac /project/boost/archive.py
parentmove Pylint settings to pyproject.toml (diff)
downloadcmake-common-fef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a.tar.gz
cmake-common-fef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a.zip
minor imports refactoring
Diffstat (limited to 'project/boost/archive.py')
-rw-r--r--project/boost/archive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/boost/archive.py b/project/boost/archive.py
index efed3a0..04a5842 100644
--- a/project/boost/archive.py
+++ b/project/boost/archive.py
@@ -10,7 +10,7 @@ import os.path
import shutil
from project.boost.directory import BoostDir
-from project.utils import temp_file
+from project import utils
class Archive:
@@ -75,7 +75,7 @@ class TemporaryStorage(ArchiveStorage):
@contextmanager
def write_archive(self, version, contents):
- tmp = temp_file(
+ tmp = utils.temp_file(
prefix=f"boost_{version}_", suffix=version.archive_ext, dir=self._dir
)
with tmp as archive_path: