Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/httprepo.py @ 3893:6b4127c7d52a
Simplify i18n imports
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 Dec 2006 20:25:19 -0600 |
parents | abaee83ce0a6 |
children | a195f11ed1a2 |
comparison
equal
deleted
inserted
replaced
3892:2eec996f2fb9 | 3893:6b4127c7d52a |
---|---|
6 # This software may be used and distributed according to the terms | 6 # This software may be used and distributed according to the terms |
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
8 | 8 |
9 from node import * | 9 from node import * |
10 from remoterepo import * | 10 from remoterepo import * |
11 from i18n import gettext as _ | 11 from i18n import _ |
12 import hg, os, urllib, urllib2, urlparse, zlib, util, httplib | 12 import hg, os, urllib, urllib2, urlparse, zlib, util, httplib |
13 import errno, keepalive, tempfile, socket, changegroup | 13 import errno, keepalive, tempfile, socket, changegroup |
14 | 14 |
15 class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): | 15 class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): |
16 def __init__(self, ui): | 16 def __init__(self, ui): |