Merge pull request #32646 from SamuelDeboni/master

Fixed AttributeError bug on doc_status.py
This commit is contained in:
Rémi Verschelde 2019-10-08 22:51:54 +02:00 committed by GitHub
commit c84aafdac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,6 +259,7 @@ class ClassStatus:
status.progresses[tag.tag].increment(len(descr.text.strip()) > 0)
elif tag.tag in ['constants', 'members']:
for sub_tag in list(tag):
if not sub_tag.text is None:
status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0)
elif tag.tag in ['tutorials']: