From: Mauro Carvalho Chehab Date: Sat, 16 May 2026 17:33:33 +0000 (+0200) Subject: docs: maintainers_include: restore compatibility with Python 3.6 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0b740ec538d6598a439645fa553ba1b5d4b7395d;p=thirdparty%2Fkernel%2Flinux.git 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> --- diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py index be8e566e03635..b8b7282ebe381 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]