changeset 487:f208b139190b

sawmill: Made html head elements HTML 4.01 compatible. Small tweak while finding tree packager in detail view.
author Sascha Teichmann <teichmann@intevation.de>
date Sun, 26 Sep 2010 07:43:26 +0000
parents 283154e189d9
children a0d19e20fb89
files contrib/sawmill/web/details.py contrib/sawmill/web/templates/header.inc
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/details.py	Thu Sep 23 09:59:06 2010 +0000
+++ b/contrib/sawmill/web/details.py	Sun Sep 26 07:43:26 2010 +0000
@@ -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
 
--- a/contrib/sawmill/web/templates/header.inc	Thu Sep 23 09:59:06 2010 +0000
+++ b/contrib/sawmill/web/templates/header.inc	Sun Sep 26 07:43:26 2010 +0000
@@ -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>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)