changeset 4121:d250076824e3

Use the mercurial i18n infrastructure in the purge extension
author Emanuele Aina <em@nerd.ocracy.org>
date Tue, 27 Feb 2007 09:05:36 +0100
parents f9dc36b1bdd5
children 00923fbce248
files contrib/purge/purge.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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