Do not include non-documented functions to the API.

This commit is contained in:
Ghislain MARY 2014-07-10 10:55:54 +02:00
parent 92c8cb6824
commit 6ef708d85f

View file

@ -503,6 +503,8 @@ class Project:
f.deprecated = True
f.briefDescription = ''.join(node.find('./briefdescription').itertext()).strip()
f.detailedDescription = self.__cleanDescription(node.find('./detaileddescription'))
if f.briefDescription == '' and ''.join(f.detailedDescription.itertext()).strip() == '':
return None
locationNode = node.find('./location')
if locationNode is not None:
f.location = locationNode.get('file')