[kapidox] src: Revert "Workaround broken metadata in the NetworkManager-Qt Framework which broke all Frameworks API generation on api.kde.org."

Ben Cooksley bcooksley at kde.org
Sun Jan 4 21:10:40 UTC 2015


Git commit 60ead7ae60b420f67ffed9c26d4646c343aa4601 by Ben Cooksley.
Committed on 04/01/2015 at 21:10.
Pushed by bcooksley into branch 'master'.

Revert "Workaround broken metadata in the NetworkManager-Qt Framework which broke all Frameworks API generation on api.kde.org."

This reverts commit 6843f218411db3dba8d5fb53a578564dcb67d50e.

CCMAIL: kde-frameworks-devel at kde.org

M  +0    -3    src/kgenframeworksapidox

http://commits.kde.org/kapidox/60ead7ae60b420f67ffed9c26d4646c343aa4601

diff --git a/src/kgenframeworksapidox b/src/kgenframeworksapidox
index 7a0e237..4b2d36f 100755
--- a/src/kgenframeworksapidox
+++ b/src/kgenframeworksapidox
@@ -107,9 +107,6 @@ def process_toplevel_html_file(outputfile, doxdatadir, tiers, title,
                 logging.warning('{} framework lacks platform definitions'.format(fw['fancyname']))
                 fw['platforms'] = [dict(name=PLATFORM_UNKNOWN)]
 
-            # In case the metadata is bad, we don't want to die so clean it up first
-            fw['platforms'] = [x for x in fw['platforms'] if 'name' in x]
-
             platform_lst = [x['name'] for x in fw['platforms'] if x['name'] not in (PLATFORM_ALL, PLATFORM_UNKNOWN)]
             available_platforms.update(set(platform_lst))
 


More information about the Kde-frameworks-devel mailing list