# HG changeset patch # User Matt Mackall # Date 2010-03-29 21:11:40 # Node ID 5974123d03391f40778a6c10ea02eb84d8ff5305 # Parent 2f2ae64a29484bd00ed4ef836f4a28ddd2fe2f4d templatefilters: fix check-code warning diff --git a/mercurial/templatefilters.py b/mercurial/templatefilters.py --- a/mercurial/templatefilters.py +++ b/mercurial/templatefilters.py @@ -20,7 +20,7 @@ agescales = [("year", 3600 * 24 * 365), ("day", 3600 * 24), ("hour", 3600), ("minute", 60), - ("second", 1),] + ("second", 1)] def age(date): '''turn a (timestamp, tzoff) tuple into an age string.'''