From d11292726d4386fde06efb58cbda650953dd34b1 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 11 Sep 2024 12:34:21 +0300 Subject: [PATCH] Use env_dir accessor --- src/tox/tox_env/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox/tox_env/package.py b/src/tox/tox_env/package.py index 008910e8e..7c5a23a4f 100644 --- a/src/tox/tox_env/package.py +++ b/src/tox/tox_env/package.py @@ -67,7 +67,7 @@ def __getattribute__(self, name: str) -> Any: def register_config(self) -> None: super().register_config() - file_lock_path: Path = self.conf["env_dir"] / "file.lock" + file_lock_path: Path = self.env_dir / "file.lock" self._file_lock = FileLock(file_lock_path) file_lock_path.parent.mkdir(parents=True, exist_ok=True) self.core.add_config(