changeset 25923:a027a0813b44

config: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 00:28:53 -0700
parents 85f442747153
children cfc24c22454e
files mercurial/config.py
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/config.py	Sat Aug 08 00:26:49 2015 -0700
+++ b/mercurial/config.py	Sat Aug 08 00:28:53 2015 -0700
@@ -5,9 +5,16 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from i18n import _
-import error, util
-import os, errno
+from __future__ import absolute_import
+
+import errno
+import os
+
+from .i18n import _
+from . import (
+    error,
+    util,
+)
 
 class config(object):
     def __init__(self, data=None, includepaths=[]):