diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-12 13:09:09 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-12 13:09:09 +0500 |
| commit | 59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d (patch) | |
| tree | d4b5be7d175a95017efbfe449adad37c32289b35 /project/boost/directory.py | |
| parent | README: update (diff) | |
| download | cmake-common-59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d.tar.gz cmake-common-59e69c1d68f6e1c92e3ea34433ceeb1a2c83b94d.zip | |
use contextlib.chdir
Diffstat (limited to 'project/boost/directory.py')
| -rw-r--r-- | project/boost/directory.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py index cc3d129..771f6ee 100644 --- a/project/boost/directory.py +++ b/project/boost/directory.py @@ -3,6 +3,7 @@ # For details, see https://github.com/egor-tensin/cmake-common # Distributed under the MIT License. +from contextlib import chdir import logging import os.path @@ -18,7 +19,7 @@ class BoostDir: self.path = path def _go(self): - return utils.cd(self.path) + return chdir(self.path) def build(self, params): with self._go(): |
