Use the mercurial i18n infrastructure in the purge extension
authorEmanuele Aina <em@nerd.ocracy.org>
Tue, 27 Feb 2007 09:05:36 +0100
changeset 4121 d250076824e3
parent 4120 f9dc36b1bdd5
child 4123 00923fbce248
Use the mercurial i18n infrastructure in the purge extension
contrib/purge/purge.py
--- a/contrib/purge/purge.py	Tue Feb 27 09:05:36 2007 +0100
+++ b/contrib/purge/purge.py	Tue Feb 27 09:05:36 2007 +0100
@@ -18,11 +18,9 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 from mercurial import hg, util
+from mercurial.i18n import _
 import os
 
-def _(s):
-    return s
-
 class Purge(object):
     def __init__(self, act=True, abort_on_err=False, eol='\n'):
         self._repo = None