lib.FileContext._mktemp(): Fix missing self before _chroot()
_mktemp() call _chroot() instead of self._chroot(), fix that.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cfe47b984b
commit
37fcf56ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue