comparison mercurial/changegroup.py @ 3893:6b4127c7d52a

Simplify i18n imports
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Dec 2006 20:25:19 -0600
parents abaee83ce0a6
children e0793314360e
comparison
equal deleted inserted replaced
3892:2eec996f2fb9 3893:6b4127c7d52a
5 5
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 9
10 from i18n import gettext as _ 10 from i18n import _
11 import struct, os, bz2, zlib, util, tempfile 11 import struct, os, bz2, zlib, util, tempfile
12 12
13 def getchunk(source): 13 def getchunk(source):
14 """get a chunk from a changegroup""" 14 """get a chunk from a changegroup"""
15 d = source.read(4) 15 d = source.read(4)