comparison hgext/largefiles/remotestore.py @ 29313:0ccab84f9630

py3: make largefiles/remotestore.py use absolute_import
author liscju <piotr.listkiewicz@gmail.com>
date Tue, 10 May 2016 15:00:22 +0200
parents fd288d118074
children 3dcaf1c4e90d
comparison
equal deleted inserted replaced
29312:29139be0ccc7 29313:0ccab84f9630
3 # 3 #
4 # This software may be used and distributed according to the terms of the 4 # This software may be used and distributed according to the terms of the
5 # GNU General Public License version 2 or any later version. 5 # GNU General Public License version 2 or any later version.
6 6
7 '''remote largefile store; the base class for wirestore''' 7 '''remote largefile store; the base class for wirestore'''
8 from __future__ import absolute_import
8 9
9 from mercurial import util, wireproto, error
10 from mercurial.i18n import _ 10 from mercurial.i18n import _
11
12 from mercurial import (
13 error,
14 util,
15 wireproto,
16 )
17
18 from . import (
19 basestore,
20 lfutil,
21 localstore,
22 )
11 23
12 urlerr = util.urlerr 24 urlerr = util.urlerr
13 urlreq = util.urlreq 25 urlreq = util.urlreq
14
15 import lfutil
16 import basestore
17 import localstore
18 26
19 class remotestore(basestore.basestore): 27 class remotestore(basestore.basestore):
20 '''a largefile store accessed over a network''' 28 '''a largefile store accessed over a network'''
21 def __init__(self, ui, repo, url): 29 def __init__(self, ui, repo, url):
22 super(remotestore, self).__init__(ui, repo, url) 30 super(remotestore, self).__init__(ui, repo, url)