Mercurial > hg > mercurial-crew
changeset 28128: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 +++ b/mercurial/scmwindows.py @@ -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 +++ b/tests/test-check-py3-compat.t @@ -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