[wwwsearch-commits] r26887 - wwwsearch/ClientForm/trunk

jjlee at codespeak.net jjlee at codespeak.net
Sat May 6 20:24:25 CEST 2006


Author: jjlee
Date: Sat May  6 20:24:24 2006
New Revision: 26887

Modified:
   wwwsearch/ClientForm/trunk/README.html.in
Log:
Don't emit BASE tag unless required

Modified: wwwsearch/ClientForm/trunk/README.html.in
==============================================================================
--- wwwsearch/ClientForm/trunk/README.html.in	(original)
+++ wwwsearch/ClientForm/trunk/README.html.in	Sat May  6 20:24:24 2006
@@ -3,10 +3,16 @@
 @# This file is processed by EmPy
 <!--This file was generated by EmPy from README.html.in : do not edit-->
 @# http://wwwsearch.sf.net/bits/colorize.py
-@{from colorize import colorize}
-@{import time}
-@{import release}
-@{last_modified = release.svn_id_to_time("$Id$")}
+@{
+from colorize import colorize
+import time
+import release
+last_modified = release.svn_id_to_time("$Id$")
+try:
+    base
+except NameError:
+    base = False
+}
 <html>
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -15,7 +21,7 @@
   <meta name="keywords" content="form,HTML,Python,web,client,client-side">
   <title>ClientForm</title>
   <style type="text/css" media="screen">@@import "../styles/style.css";</style>
-  <base href="http://wwwsearch.sourceforge.net/ClientForm/">
+  @[if base]<base href="http://wwwsearch.sourceforge.net/ClientForm/">@[end if]
 </head>
 <body>
 


More information about the wwwsearch-commits mailing list