comparison mercurial/templatefilters.py @ 18730:a5d33446e46c stable

templatefilters: add missing import of _
author Mads Kiilerich <madski@unity3d.com>
date Thu, 28 Feb 2013 13:55:00 +0100
parents 823a7d79ef82
children c2d079387b2c
comparison
equal deleted inserted replaced
18729:4e53ac3f466a 18730:a5d33446e46c
3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from i18n import _
8 import cgi, re, os, time, urllib 9 import cgi, re, os, time, urllib
9 import encoding, node, util, error 10 import encoding, node, util, error
10 import hbisect 11 import hbisect
11 12
12 def addbreaks(text): 13 def addbreaks(text):