mercurial/hgweb.py
changeset 1402 9d2c2e6b32b5
parent 1400 cf9a1233738a
child 1406 34cb3957d875
--- a/mercurial/hgweb.py	Tue Oct 18 18:38:04 2005 -0700
+++ b/mercurial/hgweb.py	Tue Oct 18 18:38:39 2005 -0700
@@ -112,7 +112,7 @@
                 if m:
                     self.map[m.group(1)] = os.path.join(self.base, m.group(2))
                 else:
-                    raise LookupError("unknown map entry '%s'" % l)
+                    raise LookupError(_("unknown map entry '%s'") % l)
 
     def __call__(self, t, **map):
         m = self.defaults.copy()
@@ -844,7 +844,7 @@
 
         def __init__(self, *args, **kwargs):
             if self.address_family is None:
-                raise hg.RepoError('IPv6 not available on this system')
+                raise hg.RepoError(_('IPv6 not available on this system'))
             BaseHTTPServer.HTTPServer.__init__(self, *args, **kwargs)
 
     class hgwebhandler(BaseHTTPServer.BaseHTTPRequestHandler):