mercurial/sshserver.py
changeset 29389 98e8313dcd9e
parent 26587 56b2bcea2529
child 29728 1a29db79a98d
--- a/mercurial/sshserver.py	Tue Jun 07 12:10:01 2016 +0200
+++ b/mercurial/sshserver.py	Tue Jun 14 11:53:55 2016 +0200
@@ -11,6 +11,7 @@
 import os
 import sys
 
+from .i18n import _
 from . import (
     error,
     hook,
@@ -40,7 +41,7 @@
             argline = self.fin.readline()[:-1]
             arg, l = argline.split()
             if arg not in keys:
-                raise error.Abort("unexpected parameter %r" % arg)
+                raise error.Abort(_("unexpected parameter %r") % arg)
             if arg == '*':
                 star = {}
                 for k in xrange(int(l)):