changeset 27334:9007f697e8ef

base85: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 Dec 2015 13:33:47 -0500
parents 2c60b4b2a0de
children c4e3ff497f89
files mercurial/pure/base85.py tests/test-check-py3-compat.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pure/base85.py	Sat Dec 12 13:32:25 2015 -0500
+++ b/mercurial/pure/base85.py	Sat Dec 12 13:33:47 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
+
 import struct
 
 _b85chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
--- a/tests/test-check-py3-compat.t	Sat Dec 12 13:32:25 2015 -0500
+++ b/tests/test-check-py3-compat.t	Sat Dec 12 13:33:47 2015 -0500
@@ -122,7 +122,6 @@
   mercurial/manifest.py not using absolute_import
   mercurial/mdiff.py not using absolute_import
   mercurial/patch.py not using absolute_import
-  mercurial/pure/base85.py not using absolute_import
   mercurial/pure/bdiff.py not using absolute_import
   mercurial/pure/diffhelpers.py not using absolute_import
   mercurial/pure/mpatch.py not using absolute_import