commit: 1589274ca28c9c5394c056b469957715c6d4e4b9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 01:49:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 01:49:10 2022 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1589274c
config: fix Pathlib attribute
Signed-off-by: Sam James <sam <AT> gentoo.org>
lib/portage/repository/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/portage/repository/config.py b/lib/portage/repository/config.py
index 1e4d0b707..f540265dd 100644
--- a/lib/portage/repository/config.py
+++ b/lib/portage/repository/config.py
@@ -357,7 +357,7 @@ class RepoConfig:
# If the owner of the repository isn't root or Portage, it's
# an indication the user may expect to be able to safely make
# changes in the directory, so default to volatile.
- elif Path(self.location).user not in ("root", "portage"):
+ elif Path(self.location).owner not in ("root", "portage"):
self.volatile = True
else:
self.volatile = False