improve wording in documentation

This commit is contained in:
2022-12-02 15:45:01 +02:00
parent 7aa91f9e2e
commit 262462d3c3
51 changed files with 73 additions and 70 deletions

View File

@ -22,8 +22,8 @@ def _get_owner(root: Path, same: bool) -> Callable[[Path], Tuple[int, int]]:
Callable[[Path], Tuple[int, int]]: function which can define ownership
"""
root_owner = (42, 42)
nonroot_owner = (42, 42) if same else (1, 1)
return lambda path: root_owner if path == root else nonroot_owner
non_root_owner = (42, 42) if same else (1, 1)
return lambda path: root_owner if path == root else non_root_owner
def test_root_owner(repository_paths: RepositoryPaths, mocker: MockerFixture) -> None: