From 0b740ec538d6598a439645fa553ba1b5d4b7395d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 16 May 2026 19:33:33 +0200 Subject: [PATCH] docs: maintainers_include: restore compatibility with Python 3.6 glob root_dir parameter requires Python 3.10, which is more than our current Python minimal requirement. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jonathan Corbet Message-ID: <930036c189414f3f7096c22269687489f8566dd9.1778952682.git.mchehab+huawei@kernel.org> --- Documentation/sphinx/maintainers_include.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py index be8e566e0363..b8b7282ebe38 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -143,7 +143,7 @@ class MaintainersParser: if not m: return None - doc_list = glob(m.group(1), root_dir=self.base_dir) + doc_list = glob(os.path.join(self.base_dir, m.group(1))) else: doc_list = [text]