changeset 1511:a91bfbbe88d3

hgweb: remove redundant rstrip filter
author TK Soh <teekaysoh@yahoo.com>
date Tue, 08 Nov 2005 10:35:00 -0800
parents 755e7ac351ef
children 53ad6ee6ede4
files mercurial/hgweb.py templates/changelogentry-rss.tmpl templates/filelogentry-rss.tmpl
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Tue Nov 08 10:34:50 2005 -0800
+++ b/mercurial/hgweb.py	Tue Nov 08 10:35:00 2005 -0800
@@ -165,7 +165,6 @@
 common_filters = {
     "escape": cgi.escape,
     "strip": lambda x: x.strip(),
-    "rstrip": lambda x: x.rstrip(),
     "age": age,
     "date": lambda x: util.datestr(x),
     "addbreaks": nl2br,
--- a/templates/changelogentry-rss.tmpl	Tue Nov 08 10:34:50 2005 -0800
+++ b/templates/changelogentry-rss.tmpl	Tue Nov 08 10:35:00 2005 -0800
@@ -1,5 +1,5 @@
 <item>
-    <title>#desc|strip|firstline|rstrip|escape#</title>
+    <title>#desc|strip|firstline|strip|escape#</title>
     <link>#url#?cs=#node|short#</link>
     <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>
--- a/templates/filelogentry-rss.tmpl	Tue Nov 08 10:34:50 2005 -0800
+++ b/templates/filelogentry-rss.tmpl	Tue Nov 08 10:35:00 2005 -0800
@@ -1,5 +1,5 @@
 <item>
-    <title>#desc|strip|firstline|rstrip|escape#</title>
+    <title>#desc|strip|firstline|strip|escape#</title>
     <link>#url#?f=#filenode|short#;file=#file#</link>
     <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>