diff options
author | Jan Safranek <jsafrane@redhat.com> | 2012-11-01 16:26:09 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2012-11-01 16:26:09 +0100 |
commit | 0bd973c335dd56a198c05cc2fe2f37c99ac1d961 (patch) | |
tree | 58d10be2f6a796685a6760dd20089054011d020f /tools/class2html.py | |
parent | 972244be7679e03edf0dfd148e4d11efa3f5caff (diff) | |
download | openlmi-providers-0bd973c335dd56a198c05cc2fe2f37c99ac1d961.tar.gz openlmi-providers-0bd973c335dd56a198c05cc2fe2f37c99ac1d961.tar.xz openlmi-providers-0bd973c335dd56a198c05cc2fe2f37c99ac1d961.zip |
Added -s and -A parameters
Diffstat (limited to 'tools/class2html.py')
-rwxr-xr-x | tools/class2html.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/class2html.py b/tools/class2html.py index 2b1f547..24a0366 100755 --- a/tools/class2html.py +++ b/tools/class2html.py @@ -122,7 +122,8 @@ class HtmlExporter(object): if p.qualifiers.has_key("Out"): direction.add("OUT") if p.qualifiers.has_key("In"): - direction.add("IN") + if p.qualifiers["In"].value: + direction.add("IN") if not direction: direction.add("IN") direction = "/".join(sorted(direction)) @@ -205,6 +206,9 @@ class HtmlExporter(object): for name in sorted(c.methods.keys()): if parent and parent.methods.has_key(name): inherited_methods.append(c.methods[name]) + if not self.compare_properties(c.methods[name], parent.methods[name]): + # the property was overridden + local_methods.append(c.methods[name]) else: local_methods.append(c.methods[name]) |