comparison mercurial/hgweb/server.py @ 7225:59b4ae211584

i18n: import _ instead of gettext
author Martin Geisler <mg@daimi.au.dk>
date Tue, 21 Oct 2008 17:47:49 +0200
parents 63b5f4c73c98
children 810ca383da9c
comparison
equal deleted inserted replaced
7224:12a90281d83d 7225:59b4ae211584
9 import os, sys, errno, urllib, BaseHTTPServer, socket, SocketServer, traceback 9 import os, sys, errno, urllib, BaseHTTPServer, socket, SocketServer, traceback
10 from mercurial import hg, util 10 from mercurial import hg, util
11 from mercurial.repo import RepoError 11 from mercurial.repo import RepoError
12 from hgweb_mod import hgweb 12 from hgweb_mod import hgweb
13 from hgwebdir_mod import hgwebdir 13 from hgwebdir_mod import hgwebdir
14 from mercurial.i18n import gettext as _ 14 from mercurial.i18n import _
15 15
16 def _splitURI(uri): 16 def _splitURI(uri):
17 """ Return path and query splited from uri 17 """ Return path and query splited from uri
18 18
19 Just like CGI environment, the path is unquoted, the query is 19 Just like CGI environment, the path is unquoted, the query is