[Treepkg-commits] r433 - in trunk/contrib/sawmill/web: . templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 10 12:46:50 CEST 2010


Author: teichmann
Date: 2010-09-10 12:46:50 +0200 (Fri, 10 Sep 2010)
New Revision: 433

Modified:
   trunk/contrib/sawmill/web/details.py
   trunk/contrib/sawmill/web/index.py
   trunk/contrib/sawmill/web/templates/details.html
   trunk/contrib/sawmill/web/templates/overview.html
Log:
sawmill: removed trailing whitespace


Modified: trunk/contrib/sawmill/web/details.py
===================================================================
--- trunk/contrib/sawmill/web/details.py	2010-09-10 10:18:31 UTC (rev 432)
+++ trunk/contrib/sawmill/web/details.py	2010-09-10 10:46:50 UTC (rev 433)
@@ -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,

Modified: trunk/contrib/sawmill/web/index.py
===================================================================
--- trunk/contrib/sawmill/web/index.py	2010-09-10 10:18:31 UTC (rev 432)
+++ trunk/contrib/sawmill/web/index.py	2010-09-10 10:46:50 UTC (rev 433)
@@ -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 = []

Modified: trunk/contrib/sawmill/web/templates/details.html
===================================================================
--- trunk/contrib/sawmill/web/templates/details.html	2010-09-10 10:18:31 UTC (rev 432)
+++ trunk/contrib/sawmill/web/templates/details.html	2010-09-10 10:46:50 UTC (rev 433)
@@ -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>

Modified: trunk/contrib/sawmill/web/templates/overview.html
===================================================================
--- trunk/contrib/sawmill/web/templates/overview.html	2010-09-10 10:18:31 UTC (rev 432)
+++ trunk/contrib/sawmill/web/templates/overview.html	2010-09-10 10:46:50 UTC (rev 433)
@@ -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>



More information about the Treepkg-commits mailing list