[wwwsearch-commits] r26893 - wwwsearch/ClientCookie/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Sat May 6 20:42:39 CEST 2006
Author: jjlee
Date: Sat May 6 20:42:38 2006
New Revision: 26893
Modified:
wwwsearch/ClientCookie/trunk/doc.html.in
Log:
Don't emit BASE tag unless required
Modified: wwwsearch/ClientCookie/trunk/doc.html.in
==============================================================================
--- wwwsearch/ClientCookie/trunk/doc.html.in (original)
+++ wwwsearch/ClientCookie/trunk/doc.html.in Sat May 6 20:42:38 2006
@@ -2,10 +2,16 @@
"http://www.w3.org/TR/html4/strict.dtd">
@# This file is processed by EmPy to colorize Python source code
@# 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 @@
<title>ClientCookie documentation</title>
<style type="text/css" media="screen">@@import "../styles/style.css";</style>
<style type="text/css" media="screen">@@import "../styles/cookie_style.css";</style>
- <base href="http://wwwsearch.sourceforge.net/ClientCookie/">
+ @[if base]<base href="http://wwwsearch.sourceforge.net/ClientCookie/">@[end if]
</head>
<body>
More information about the wwwsearch-commits
mailing list