commit:     b4ca7c5802aafab54ca163c8e59ac3d2222e3084
Author:     Kenneth Raplee <kenrap <AT> kennethraplee <DOT> com>
AuthorDate: Sat Apr  9 01:42:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  9 04:32:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=b4ca7c58

manifest: fix thick manifest generation

Closes: https://bugs.gentoo.org/837326
Closes: https://bugs.gentoo.org/837323
Signed-off-by: Kenneth Raplee <kenrap <AT> kennethraplee.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 lib/portage/manifest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/portage/manifest.py b/lib/portage/manifest.py
index eb3695669..a5b26c130 100644
--- a/lib/portage/manifest.py
+++ b/lib/portage/manifest.py
@@ -641,7 +641,7 @@ class Manifest:
         recursive_files = []
 
         pkgdir = self.pkgdir
-        cut_len = len(os.path.join(pkgdir, "files", os.sep))
+        cut_len = len(os.path.join(pkgdir, f"files{os.sep}"))
         for parentdir, dirs, files in os.walk(os.path.join(pkgdir, "files")):
             for f in files:
                 try:

Reply via email to