From 40fb8f455685dbc69d34b51786d40b067bd78383 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 26 Nov 2015 16:59:00 -0500 Subject: [PATCH] checkdocs.py: fix NoneType error Signed-off-by: Philippe Proulx --- tools/checkdocs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/checkdocs.py b/tools/checkdocs.py index 9f56a3f..3fc5586 100755 --- a/tools/checkdocs.py +++ b/tools/checkdocs.py @@ -101,6 +101,7 @@ def _check_file_links(toc_ids, path, c): if classes is None: _pwarn(path, 'External link has no "ext" class: "{}"'.format(link)) + classes = [] else: classes = classes.group(1).split(' ') -- 2.34.1