From 6ef708d85fe7c552e5b0e5de31b3b2362f2e6822 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 10 Jul 2014 10:55:54 +0200 Subject: [PATCH] Do not include non-documented functions to the API. --- tools/genapixml.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/genapixml.py b/tools/genapixml.py index 85804785c..e60ac3a5d 100755 --- a/tools/genapixml.py +++ b/tools/genapixml.py @@ -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')