From 1079b1066cb60995da4913cdf3b25fb258334600 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 25 Nov 2010 19:39:42 -0200 Subject: Fix doc generation after the refactor for v1.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewer: Renato Araújo Marcelo Lira --- doc/inheritance_diagram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/inheritance_diagram.py') diff --git a/doc/inheritance_diagram.py b/doc/inheritance_diagram.py index 0f9be0874..fcbed550d 100644 --- a/doc/inheritance_diagram.py +++ b/doc/inheritance_diagram.py @@ -148,7 +148,7 @@ class InheritanceGraph(object): def recurse(cls): all_classes[cls] = None for c in cls.__bases__: - if c not in all_classes and c.__name__ != "BaseWrapper": + if c not in all_classes and not (c.__name__ == "Object" and c.__module__ == "Shiboken"): recurse(c) for cls in classes: @@ -246,7 +246,7 @@ class InheritanceGraph(object): # Write the edges for base in cls.__bases__: - if base.__name__ == "BaseWrapper": + if base.__name__ == "Object" and base.__module__ == "Shiboken": continue if not self.show_builtins and base in __builtins__.values(): continue -- cgit v1.2.3