comparison mercurial/httprepo.py @ 12062:c327bfa5e831

cleanup: remove unused imports
author Brodie Rao <brodie@bitheap.org>
date Fri, 27 Aug 2010 13:32:38 -0400
parents 05deba16c5d5
children 6bd9778ae749
comparison
equal deleted inserted replaced
12061:f7557345b199 12062:c327bfa5e831
4 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com> 4 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
5 # 5 #
6 # This software may be used and distributed according to the terms of the 6 # This software may be used and distributed according to the terms of the
7 # GNU General Public License version 2 or any later version. 7 # GNU General Public License version 2 or any later version.
8 8
9 from node import bin, hex, nullid 9 from node import nullid
10 from i18n import _ 10 from i18n import _
11 import repo, changegroup, statichttprepo, error, url, util, wireproto 11 import changegroup, statichttprepo, error, url, util, wireproto
12 import os, urllib, urllib2, urlparse, zlib, httplib 12 import os, urllib, urllib2, urlparse, zlib, httplib
13 import errno, socket 13 import errno, socket
14 import encoding
15 14
16 def zgenerator(f): 15 def zgenerator(f):
17 zd = zlib.decompressobj() 16 zd = zlib.decompressobj()
18 try: 17 try:
19 for chunk in util.filechunkiter(f): 18 for chunk in util.filechunkiter(f):