changeset 632:01c9848950d5

0.6dev: Cleaning all usage of tabs (replaced with spaces).
author osimons
date Tue, 11 Aug 2009 23:57:57 +0000
parents 0c11c58d1985
children 900b09af6b38
files bitten/master.py bitten/templates/bitten_config.html bitten/templates/bitten_summary_lint.html
diffstat 3 files changed, 20 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/master.py
+++ b/bitten/master.py
@@ -215,7 +215,7 @@
                            exc_info=True)
             raise HTTPBadRequest('XML parser error')
         stepname = elem.attr['step']
-	
+
         # make sure it's the right slave.
         if build.status != Build.IN_PROGRESS or \
                 build.slave_info.get(Build.IP_ADDRESS) != req.remote_addr:
--- a/bitten/templates/bitten_config.html
+++ b/bitten/templates/bitten_config.html
@@ -41,9 +41,9 @@
     <div id="content" class="build">
       <h1>$title</h1><py:choose test="page_mode"><py:when test="'overview'">
       <py:if test="builds_pending">
-	<div>$builds_pending pending build<py:if test="builds_pending > 1">s</py:if>
+       <div>$builds_pending pending build<py:if test="builds_pending > 1">s</py:if>
        </div></py:if><py:if test="builds_inprogress">
-	<div>$builds_inprogress in-progress build<py:if test="builds_inprogress > 1">s</py:if>
+       <div>$builds_inprogress in-progress build<py:if test="builds_inprogress > 1">s</py:if>
       </div></py:if>
       <form id="prefs" method="get" action="">
         <div>
@@ -58,16 +58,17 @@
       <h2 class="config ${not config.active and 'deactivated' or ''}">
         <a href="$config.href">$config.label</a>
       </h2><py:if test="config.builds_pending">
-	<div>$config.builds_pending pending
-	build<py:if test="config.builds_pending > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
+        <div>$config.builds_pending pending
+          build<py:if test="config.builds_pending > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
         <py:if test="platform.builds_pending">
-	$platform.name: $platform.builds_pending
+          $platform.name: $platform.builds_pending
         </py:if></py:for>)</i>
        </div></py:if><py:if test="config.builds_inprogress">
-	<div>$config.builds_inprogress in-progress
-	build<py:if test="config.builds_inprogress > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms"><py:if test="platform.builds_inprogress">
-	$platform.name: $platform.builds_inprogress
-        </py:if></py:for>)</i>
+       <div>$config.builds_inprogress in-progress
+         build<py:if test="config.builds_inprogress > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
+           <py:if test="platform.builds_inprogress">
+            $platform.name: $platform.builds_inprogress
+          </py:if></py:for>)</i>
       </div></py:if>
       <div py:if="config.description" class="description">
         $config.description
@@ -131,13 +132,14 @@
       </div>
       ${list_of_attachments(config.attachments, compact=True)}
       <py:if test="config.builds_pending">
-	<div>$config.builds_pending pending build<py:if test="config.builds_pending > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
+      <div>$config.builds_pending pending build<py:if test="config.builds_pending > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
         <py:if test="platform.builds_pending">
-	$platform.name: $platform.builds_pending
+          $platform.name: $platform.builds_pending
         </py:if></py:for>)</i>
        </div></py:if><py:if test="config.builds_inprogress">
-	<div>$config.builds_inprogress in-progress build<py:if test="config.builds_inprogress > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms"><py:if test="platform.builds_inprogress">
-	$platform.name: $platform.builds_inprogress
+        <div>$config.builds_inprogress in-progress build<py:if test="config.builds_inprogress > 1">s</py:if>&nbsp;<i>(<py:for each="platform in config.platforms">
+          <py:if test="platform.builds_inprogress">
+            $platform.name: $platform.builds_inprogress
         </py:if></py:for>)</i>
       </div></py:if>
       <div id="charts"><py:for each="chart in config.charts">
--- a/bitten/templates/bitten_summary_lint.html
+++ b/bitten/templates/bitten_summary_lint.html
@@ -9,10 +9,10 @@
  <thead>
     <tr><th rowspan="2" class="file">File</th><th colspan="4" class="category">Problem Category Totals</th><th rowspan="2" class="total">Total</th></tr>
     <tr>
-	<th class="category">Convention</th>
-	<th class="category">Refactor</th>
-	<th class="category">Warning</th>
-	<th class="category">Error</th>
+      <th class="category">Convention</th>
+      <th class="category">Refactor</th>
+      <th class="category">Warning</th>
+      <th class="category">Error</th>
     </tr>
  </thead>
 
Copyright (C) 2012-2017 Edgewall Software