# HG changeset patch # User liscju # Date 1462882851 -7200 # Node ID f89f83c8393a6f03b1554e3b01212e40ebb42381 # Parent bfc1052570b6ac2f8891ef3dc940c8feefb91a25 py3: make largefiles/localstore.py use absolute_import diff -r bfc1052570b6 -r f89f83c8393a hgext/largefiles/localstore.py --- a/hgext/largefiles/localstore.py Tue May 10 15:09:22 2016 +0200 +++ b/hgext/largefiles/localstore.py Tue May 10 14:20:51 2016 +0200 @@ -7,11 +7,14 @@ # GNU General Public License version 2 or any later version. '''store class for local filesystem''' +from __future__ import absolute_import from mercurial.i18n import _ -import lfutil -import basestore +from . import ( + basestore, + lfutil, +) class localstore(basestore.basestore): '''localstore first attempts to grab files out of the store in the remote diff -r bfc1052570b6 -r f89f83c8393a tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Tue May 10 15:09:22 2016 +0200 +++ b/tests/test-check-py3-compat.t Tue May 10 14:20:51 2016 +0200 @@ -10,7 +10,6 @@ hgext/fsmonitor/pywatchman/pybser.py not using absolute_import hgext/highlight/__init__.py not using absolute_import hgext/highlight/highlight.py not using absolute_import - hgext/largefiles/localstore.py not using absolute_import hgext/largefiles/overrides.py not using absolute_import hgext/largefiles/proto.py not using absolute_import hgext/largefiles/remotestore.py not using absolute_import