]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: maintainers_include: restore compatibility with Python 3.6
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 16 May 2026 17:33:33 +0000 (19:33 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 25 May 2026 20:24:09 +0000 (14:24 -0600)
glob root_dir parameter requires Python 3.10, which is more than
our current Python minimal requirement.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <930036c189414f3f7096c22269687489f8566dd9.1778952682.git.mchehab+huawei@kernel.org>

Documentation/sphinx/maintainers_include.py

index be8e566e036358bf54ef95c03984d04bec85e908..b8b7282ebe381d3ff07600b6975d87be8a93c756 100755 (executable)
@@ -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]