diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2014-01-16 15:10:26 +0100 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2014-01-16 15:10:26 +0100 |
commit | 97d3041f1e38dfcc931d0e495c0e1c66497cf09c (patch) | |
tree | d56f207fb9ca08a4eccfbd406b609ae4402e5c5a /tools/class2html.py | |
parent | 785bc9bf7e4ba5ba60477fd09974377c4cf48b10 (diff) | |
download | openlmi-providers-97d3041f1e38dfcc931d0e495c0e1c66497cf09c.tar.gz openlmi-providers-97d3041f1e38dfcc931d0e495c0e1c66497cf09c.tar.xz openlmi-providers-97d3041f1e38dfcc931d0e495c0e1c66497cf09c.zip |
Remove trailing spaces
This patch removes trailing spaces from source files.
Diffstat (limited to 'tools/class2html.py')
-rwxr-xr-x | tools/class2html.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/class2html.py b/tools/class2html.py index 349e925..6222c5a 100755 --- a/tools/class2html.py +++ b/tools/class2html.py @@ -27,7 +27,7 @@ import cgi import sys class HtmlExporter(object): - + def __init__(self, cliconn): self.classcache = {} self.cliconn = cliconn @@ -65,7 +65,7 @@ class HtmlExporter(object): return '%s<a href="%s">%s</a>%s' % (prefix, url, url, last) string2 = re.sub(re_string, do_sub, string) return re.sub(re_nl, "<br/>", string2) - + def load_class(self, classname): if classname in self.classcache: return self.classcache[classname] @@ -299,7 +299,7 @@ class HtmlExporter(object): self.print_file(footer) print >>self.file, "</body></html>" self.file.close() - + def add_class(self, classname): self.classes.append(classname) print "adding", classname @@ -343,7 +343,7 @@ class HtmlExporter(object): """ Create inheritance tree of classes. """ - # hash classname -> list of hash of (direct) sublasses + # hash classname -> list of hash of (direct) sublasses subclasses = {} # hash classname -> nr. of its parents parents = {} @@ -379,7 +379,7 @@ class HtmlExporter(object): self.print_file(footer) print >>self.file, "</body></html>" self.file.close() - + description = """ Generate HTML documentation for given CIM classes. The tool connects to specified CIMOM and reads class definition from there. It generates separate HTML file for each class |