From 37fcf56ad2a9393ae050b8351ee9d3bf7974dbbd Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sat, 25 Apr 2026 13:40:48 +0200 Subject: [PATCH] lib.FileContext._mktemp(): Fix missing self before _chroot() _mktemp() call _chroot() instead of self._chroot(), fix that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/FileContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/FileContext.py b/src/python/jw/pkg/lib/FileContext.py index c2ceba08..b77e91f6 100644 --- a/src/python/jw/pkg/lib/FileContext.py +++ b/src/python/jw/pkg/lib/FileContext.py @@ -241,7 +241,7 @@ class FileContext(abc.ABC): raise NotImplementedError(f'{self.log_name}: mktemp("{path}") is not implemented') async def mktemp(self, tmpl: str, directory: bool=False) -> None: - return await self._mktemp(_chroot(tmpl), directory) + return await self._mktemp(self._chroot(tmpl), directory) async def _chown(self, path: str, owner: str|None, group: str|None) -> None: raise NotImplementedError(f'{self.log_name}: chown("{path}") is not implemented')