pathutil: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:45:15 -0700
changeset 25964 d740df4e96cf
parent 25963 7448df709b2e
child 25965 e6b56b2c1f26
pathutil: use absolute_import
mercurial/pathutil.py
--- a/mercurial/pathutil.py	Sat Aug 08 19:44:05 2015 -0700
+++ b/mercurial/pathutil.py	Sat Aug 08 19:45:15 2015 -0700
@@ -1,8 +1,15 @@
-import os, errno, stat, posixpath
+from __future__ import absolute_import
 
-import encoding
-import util
-from i18n import _
+import errno
+import os
+import posixpath
+import stat
+
+from .i18n import _
+from . import (
+    encoding,
+    util,
+)
 
 def _lowerclean(s):
     return encoding.hfsignoreclean(s.lower())