Mercurial > hg
changeset 27333:2c60b4b2a0de
destutil: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 12 Dec 2015 13:32:25 -0500 |
parents | 04f346b8768f |
children | 9007f697e8ef |
files | mercurial/destutil.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/destutil.py Sat Dec 12 13:30:47 2015 -0500 +++ b/mercurial/destutil.py Sat Dec 12 13:32:25 2015 -0500 @@ -5,6 +5,8 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from __future__ import absolute_import + from .i18n import _ from . import ( bookmarks,
--- a/tests/test-check-py3-compat.t Sat Dec 12 13:30:47 2015 -0500 +++ b/tests/test-check-py3-compat.t Sat Dec 12 13:32:25 2015 -0500 @@ -103,7 +103,6 @@ mercurial/commands.py not using absolute_import mercurial/commandserver.py not using absolute_import mercurial/context.py not using absolute_import - mercurial/destutil.py not using absolute_import mercurial/dirstate.py not using absolute_import mercurial/dispatch.py requires print_function mercurial/encoding.py not using absolute_import