diff 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
line wrap: on
line diff
--- a/hgext/largefiles/remotestore.py	Tue May 10 14:41:58 2016 +0200
+++ b/hgext/largefiles/remotestore.py	Tue May 10 15:00:22 2016 +0200
@@ -5,17 +5,25 @@
 # GNU General Public License version 2 or any later version.
 
 '''remote largefile store; the base class for wirestore'''
+from __future__ import absolute_import
 
-from mercurial import util, wireproto, error
 from mercurial.i18n import _
 
+from mercurial import (
+    error,
+    util,
+    wireproto,
+)
+
+from . import (
+    basestore,
+    lfutil,
+    localstore,
+)
+
 urlerr = util.urlerr
 urlreq = util.urlreq
 
-import lfutil
-import basestore
-import localstore
-
 class remotestore(basestore.basestore):
     '''a largefile store accessed over a network'''
     def __init__(self, ui, repo, url):