changeset 488:a0d19e20fb89

sawmill: moved imports before there usage
author Sascha Teichmann <teichmann@intevation.de>
date Sun, 26 Sep 2010 07:49:57 +0000
parents f208b139190b
children e7114ac643c3
files contrib/sawmill/web/templates/details.html
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/templates/details.html	Sun Sep 26 07:43:26 2010 +0000
+++ b/contrib/sawmill/web/templates/details.html	Sun Sep 26 07:49:57 2010 +0000
@@ -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)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)