changeset 473:d8012571f9e1

sawmill: removed trailing whitespace
author Sascha Teichmann <teichmann@intevation.de>
date Fri, 10 Sep 2010 10:46:50 +0000
parents d760c6cd2abf
children a8f77807d710
files contrib/sawmill/web/details.py contrib/sawmill/web/index.py contrib/sawmill/web/templates/details.html contrib/sawmill/web/templates/overview.html
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/details.py	Fri Sep 10 10:18:31 2010 +0000
+++ b/contrib/sawmill/web/details.py	Fri Sep 10 10:46:50 2010 +0000
@@ -83,7 +83,7 @@
             if not os.path.isdir(log_dir):
                 self.logs = []
             else:
-                self.logs =[(_pretty_log_name(f), self.log_path(f)) 
+                self.logs =[(_pretty_log_name(f), self.log_path(f))
                     for f in os.listdir(log_dir)
                     if os.path.isfile(oj(log_dir, f)) and f.find("txt") >= 0]
         return self.logs
@@ -110,7 +110,7 @@
                 status_file = os.path.join(revision_path, "status")
                 if not os.path.isfile(status_file): continue
                 items.append(TrackItem(treepkg, track, revision, status_file))
-            
+
     return items
 
 def __description_header(treepkg):
@@ -146,8 +146,8 @@
     description, header = __description_header(found)
 
     track_items = __scan_track_items(treepkg, found)
-    
-    req.content_type = 'text/html;charset=utf-8'    
+
+    req.content_type = 'text/html;charset=utf-8'
     template = psp.PSP(req, filename='templates/details.html')
     template.run({
         'base_dir':    BASE_DIR,
--- a/contrib/sawmill/web/index.py	Fri Sep 10 10:18:31 2010 +0000
+++ b/contrib/sawmill/web/index.py	Fri Sep 10 10:46:50 2010 +0000
@@ -16,7 +16,7 @@
 TREEPKG_DIR = os.path.join(os.path.dirname(__file__), "treepkgs")
 
 def index(req):
-    req.content_type = 'text/html;charset=utf-8'    
+    req.content_type = 'text/html;charset=utf-8'
     template = psp.PSP(req, filename='templates/overview.html')
 
     descriptions = []
--- a/contrib/sawmill/web/templates/details.html	Fri Sep 10 10:18:31 2010 +0000
+++ b/contrib/sawmill/web/templates/details.html	Fri Sep 10 10:46:50 2010 +0000
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
 <%
 from cgi import escape
@@ -201,7 +201,7 @@
    </table>
    <br />
    <center>
-    <b style="color:white; font-size:13px;"> 
+    <b style="color:white; font-size:13px;">
      This site is hosted by the <a href="http://www.intevation.de">Intevation GmbH</a>
     </b>
    </center>
--- a/contrib/sawmill/web/templates/overview.html	Fri Sep 10 10:18:31 2010 +0000
+++ b/contrib/sawmill/web/templates/overview.html	Fri Sep 10 10:46:50 2010 +0000
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
 <%
 from cgi import escape
@@ -69,7 +69,7 @@
         <!-- end main body row -->
          <div style="text-align: right"><a href="http://wald.intevation.de/">...to WALD source code repository</a></div>
 
-<% 
+<%
 for treepkg, description in sorted(descriptions, key=lambda x: x[1]):
     # for all descriptions
 %>
@@ -123,7 +123,7 @@
    </table>
    <br />
    <center>
-    <b style="color:white; font-size:13px;"> 
+    <b style="color:white; font-size:13px;">
      This site is hosted by the <a href="http://www.intevation.de">Intevation GmbH</a>
 
     </b>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)