Mercurial > hg
comparison mercurial/hgweb.py @ 1511:a91bfbbe88d3
hgweb: remove redundant rstrip filter
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Tue, 08 Nov 2005 10:35:00 -0800 |
parents | 78590fb4a82b |
children | 0d47bb884330 |
comparison
equal
deleted
inserted
replaced
1510:755e7ac351ef | 1511:a91bfbbe88d3 |
---|---|
163 return | 163 return |
164 | 164 |
165 common_filters = { | 165 common_filters = { |
166 "escape": cgi.escape, | 166 "escape": cgi.escape, |
167 "strip": lambda x: x.strip(), | 167 "strip": lambda x: x.strip(), |
168 "rstrip": lambda x: x.rstrip(), | |
169 "age": age, | 168 "age": age, |
170 "date": lambda x: util.datestr(x), | 169 "date": lambda x: util.datestr(x), |
171 "addbreaks": nl2br, | 170 "addbreaks": nl2br, |
172 "obfuscate": obfuscate, | 171 "obfuscate": obfuscate, |
173 "short": (lambda x: x[:12]), | 172 "short": (lambda x: x[:12]), |