public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: pmstestsuite/output/
Date: Mon, 15 Aug 2011 18:06:15 +0000 (UTC)	[thread overview]
Message-ID: <7f66b2880e45436f17648dcba89aaaca82194869.mgorny@gentoo> (raw)

commit:     7f66b2880e45436f17648dcba89aaaca82194869
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 17:05:50 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 18:07:34 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=7f66b288

Clean up whitespace in HTML output.

---
 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()
 



             reply	other threads:[~2011-08-15 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 18:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-09 23:01 [gentoo-commits] proj/pms-test-suite:master commit in: pmstestsuite/output/ Michał Górny
2012-01-03 15:52 Michał Górny
2011-08-12  9:35 Michał Górny
2011-08-11 22:09 Michał Górny
2011-08-11 22:09 Michał Górny
2011-08-11  8:53 Michał Górny
2011-08-11  8:53 Michał Górny
2011-08-06 14:25 Michał Górny
2011-08-06 14:25 Michał Górny
2011-08-06  8:31 Michał Górny
2011-08-05 21:36 Michał Górny
2011-08-05 21:36 Michał Górny
2011-08-05 19:54 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f66b2880e45436f17648dcba89aaaca82194869.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox