# HG changeset patch # User osimons # Date 1255951162 0 # Node ID 4e27920699b23a2860d1b89bd4e6f082a8354fcd # Parent 4928dfbd8e79a5fdcc09a154652f2e3ec97145c2 0.6dev: Merging [778:780] from trunk. diff --git a/bitten/htdocs/bitten.css b/bitten/htdocs/bitten.css --- a/bitten/htdocs/bitten.css +++ b/bitten/htdocs/bitten.css @@ -155,7 +155,6 @@ #content.build tbody.totals td, #content.build tbody.totals th { font-weight: bold; } -#content.build table.tests tr.failed { background: #d99; } #content.build table.tests tr.failed th, #content.build table.tests tr.failed td { font-weight: bold; } #content.build table.tests tr.failed :link, @@ -167,7 +166,8 @@ margin: 0; padding-left: 32px; padding-top: 5px; text-align: left; font-weight: normal; } #content.build table.tests tr th p.details span { - white-space: pre; font-family: monospace; font-weight: normal; color: #666; + white-space: pre; font-family: monospace; font-weight: normal; font-size: smaller; + color: #666; } #content.build table.tests .fixture { display: inline; } #content.build table.tests tr.failed th .fixture a { diff --git a/bitten/master.py b/bitten/master.py --- a/bitten/master.py +++ b/bitten/master.py @@ -138,6 +138,7 @@ """ Formats and sends the response, raising ``RequestDone``. """ req.send_response(code) headers = headers or {} + headers.setdefault('Content-Length', len(body)) for header in headers: req.send_header(header, headers[header]) req.write(body) diff --git a/bitten/templates/bitten_summary_lint.html b/bitten/templates/bitten_summary_lint.html --- a/bitten/templates/bitten_summary_lint.html +++ b/bitten/templates/bitten_summary_lint.html @@ -2,7 +2,9 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + xmlns:py="http://genshi.edgewall.org/" + py:strip=""> +

Code Lint

@@ -43,4 +45,5 @@
+