[Treepkg-commits] r448 - trunk/contrib/sawmill/web/templates

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


Author: teichmann
Date: 2010-09-26 09:49:57 +0200 (Sun, 26 Sep 2010)
New Revision: 448

Modified:
   trunk/contrib/sawmill/web/templates/details.html
Log:
sawmill: moved imports before there usage

Modified: trunk/contrib/sawmill/web/templates/details.html
===================================================================
--- trunk/contrib/sawmill/web/templates/details.html	2010-09-26 07:43:26 UTC (rev 447)
+++ trunk/contrib/sawmill/web/templates/details.html	2010-09-26 07:49:57 UTC (rev 448)
@@ -2,7 +2,11 @@
   "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <%@include file="header.inc" %>
-
+<%
+from cgi import escape
+from xml.sax.saxutils import quoteattr
+from datetime import date, datetime
+%>
 <div class="css_prison">
 <h1><%= escape(description) %></h1>
 <%= header %>
@@ -17,11 +21,6 @@
   <th class="statustablehead">Notes</th>
 </tr>
 <%
-from cgi import escape
-from xml.sax.saxutils import quoteattr
-
-from datetime import date, datetime
-
 def nn(s, d=""):
     if not s: return d
     return escape(s)



More information about the Treepkg-commits mailing list