FileContext.mkdir(): Fix missing _chroot() #130
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ class FileContext(abc.ABC):
|
||||||
raise NotImplementedError(f'{self.log_name}: mkdir({path}) is not implemented')
|
raise NotImplementedError(f'{self.log_name}: mkdir({path}) is not implemented')
|
||||||
|
|
||||||
async def mkdir(self, path: str, mode: int = 0o777) -> None:
|
async def mkdir(self, path: str, mode: int = 0o777) -> None:
|
||||||
return await self._mkdir(path, mode)
|
return await self._mkdir(self._chroot(path), mode)
|
||||||
|
|
||||||
async def _mktemp(self, tmpl: str, directory: bool) -> str:
|
async def _mktemp(self, tmpl: str, directory: bool) -> str:
|
||||||
raise NotImplementedError(
|
raise NotImplementedError(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue