destutil: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 12 Dec 2015 13:32:25 -0500
changeset 27333 2c60b4b2a0de
parent 27332 04f346b8768f
child 27334 9007f697e8ef
destutil: use absolute_import
mercurial/destutil.py
tests/test-check-py3-compat.t
--- 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