# HG changeset patch # User liscju # Date 1462886404 -7200 # Node ID 28dfcf3d0ad3991482919b958ee6fb2a4fc2a72c # Parent 2143266ecb655deccf5146de83d8e578b3171dfa py3: make largefiles/wirestore.py use absolute_import diff -r 2143266ecb65 -r 28dfcf3d0ad3 hgext/largefiles/wirestore.py --- a/hgext/largefiles/wirestore.py Tue May 10 15:14:41 2016 +0200 +++ b/hgext/largefiles/wirestore.py Tue May 10 15:20:04 2016 +0200 @@ -4,9 +4,12 @@ # GNU General Public License version 2 or any later version. '''largefile store working over Mercurial's wire protocol''' +from __future__ import absolute_import -import lfutil -import remotestore +from . import ( + lfutil, + remotestore, +) class wirestore(remotestore.remotestore): def __init__(self, ui, repo, remote): diff -r 2143266ecb65 -r 28dfcf3d0ad3 tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Tue May 10 15:14:41 2016 +0200 +++ b/tests/test-check-py3-compat.t Tue May 10 15:20:04 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/wirestore.py not using absolute_import hgext/share.py not using absolute_import hgext/win32text.py not using absolute_import i18n/check-translation.py not using absolute_import