diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-08 22:51:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 22:51:54 +0200 |
commit | c84aafdac24bf6b88eefe616f3bed1c815a34b44 (patch) | |
tree | fa76051def173b4f2f073d7b1a32966a3587fe98 | |
parent | f46bf8e721d17f263437f4786454401b52721bc6 (diff) | |
parent | 35d22e414f8a244ff97bbe3118f0ca02b1c19daa (diff) |
Merge pull request #32646 from SamuelDeboni/master
Fixed AttributeError bug on doc_status.py
-rw-r--r-- | doc/tools/doc_status.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/tools/doc_status.py b/doc/tools/doc_status.py index 974ac2d05c..6e34cffc05 100644 --- a/doc/tools/doc_status.py +++ b/doc/tools/doc_status.py @@ -259,7 +259,8 @@ class ClassStatus: status.progresses[tag.tag].increment(len(descr.text.strip()) > 0) elif tag.tag in ['constants', 'members']: for sub_tag in list(tag): - status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0) + if not sub_tag.text is None: + status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0) elif tag.tag in ['tutorials']: pass # Ignore those tags for now |