Mercurial > hg
changeset 27481:029f02757c20
scmwindows: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Dec 2015 21:21:09 -0800 |
parents | 509159675cdb |
children | dde3da2246f1 |
files | mercurial/scmwindows.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/scmwindows.py Mon Dec 21 21:19:57 2015 -0800 +++ b/mercurial/scmwindows.py Mon Dec 21 21:21:09 2015 -0800 @@ -1,7 +1,12 @@ +from __future__ import absolute_import + +import _winreg import os -import osutil -import util -import _winreg + +from . import ( + osutil, + util, +) def systemrcpath(): '''return default os-specific hgrc search path'''
--- a/tests/test-check-py3-compat.t Mon Dec 21 21:19:57 2015 -0800 +++ b/tests/test-check-py3-compat.t Mon Dec 21 21:21:09 2015 -0800 @@ -123,7 +123,6 @@ mercurial/py3kcompat.py not using absolute_import mercurial/scmposix.py not using absolute_import mercurial/scmutil.py not using absolute_import - mercurial/scmwindows.py not using absolute_import setup.py not using absolute_import tests/filterpyflakes.py requires print_function tests/generate-working-copy-states.py requires print_function