diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-08-15 19:05:50 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-08-15 20:07:34 +0200 |
commit | 7f66b2880e45436f17648dcba89aaaca82194869 (patch) | |
tree | 4aca8393ef0922f5798875487dacb075eb14b108 | |
parent | Fix markdown syntax in README. (diff) | |
download | pms-test-suite-7f66b2880e45436f17648dcba89aaaca82194869.tar.gz pms-test-suite-7f66b2880e45436f17648dcba89aaaca82194869.tar.bz2 pms-test-suite-7f66b2880e45436f17648dcba89aaaca82194869.zip |
Clean up whitespace in HTML output.
-rw-r--r-- | pmstestsuite/output/html.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py index 71ea2ac..20e5805 100644 --- a/pmstestsuite/output/html.py +++ b/pmstestsuite/output/html.py @@ -62,12 +62,13 @@ class HTMLOutput(OutputModule): </style> </head> <body> - <table>''' + <table> +''' - _htmlfooter = ''' - </table> + _htmlfooter = ''' </table> </body> -</html>''' +</html> +''' def __call__(self, allresults, verbose = False): mypms = [] @@ -209,7 +210,7 @@ class HTMLOutput(OutputModule): f = open(self._path, 'w') f.write(self._htmlheader) for y in range(0, row): - f.write('<tr>') + f.write('\t\t\t<tr>') for x in range(0, maxcol): cell = table[y][x] if cell is not None: @@ -224,7 +225,7 @@ class HTMLOutput(OutputModule): cell = TD(cell) cell.set_rowspan(rowspan) f.write(str(cell)) - f.write('</tr>') + f.write('</tr>\n') f.write(self._htmlfooter) f.close() |