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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Sep 26 09:43:27 CEST 2010


Author: teichmann
Date: 2010-09-26 09:43:26 +0200 (Sun, 26 Sep 2010)
New Revision: 447

Modified:
   trunk/contrib/sawmill/web/details.py
   trunk/contrib/sawmill/web/templates/header.inc
Log:
sawmill: Made html head elements HTML 4.01 compatible. 
Small tweak while finding tree packager in detail view.


Modified: trunk/contrib/sawmill/web/details.py
===================================================================
--- trunk/contrib/sawmill/web/details.py	2010-09-23 09:59:06 UTC (rev 446)
+++ trunk/contrib/sawmill/web/details.py	2010-09-26 07:43:26 UTC (rev 447)
@@ -142,7 +142,7 @@
     found = None
     for d in os.listdir(TREEPKG_DIR):
         dp = os.path.join(TREEPKG_DIR, d)
-        if os.path.isdir(dp) and d == treepkg:
+        if d == treepkg and os.path.isdir(dp):
             found = dp
             break
 

Modified: trunk/contrib/sawmill/web/templates/header.inc
===================================================================
--- trunk/contrib/sawmill/web/templates/header.inc	2010-09-23 09:59:06 UTC (rev 446)
+++ trunk/contrib/sawmill/web/templates/header.inc	2010-09-26 07:43:26 UTC (rev 447)
@@ -4,8 +4,8 @@
 %>
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-  <link rel="icon" href="img/favicon.ico" type="image/x-icon" />
-  <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen" />
+  <link rel="icon" href="img/favicon.ico" type="image/x-icon">
+  <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen">
   <title>S&auml;gewerk - <%= escape(page_title) %></title>
 </head>
 <body>



More information about the Treepkg-commits mailing list