Mercurial > hg
changeset 10787:5974123d0339
templatefilters: fix check-code warning
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 29 Mar 2010 16:11:40 -0500 |
parents | 2f2ae64a2948 |
children | ef3668450cd0 |
files | mercurial/templatefilters.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatefilters.py Mon Mar 29 15:51:26 2010 -0500 +++ b/mercurial/templatefilters.py Mon Mar 29 16:11:40 2010 -0500 @@ -20,7 +20,7 @@ ("day", 3600 * 24), ("hour", 3600), ("minute", 60), - ("second", 1),] + ("second", 1)] def age(date): '''turn a (timestamp, tzoff) tuple into an age string.'''