match: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:39:45 -0700
changeset 25958 c4ccf2d394a7
parent 25957 ae21d51bdc43
child 25959 892d601f0d44
match: use absolute_import
mercurial/match.py
--- a/mercurial/match.py	Sat Aug 08 19:32:19 2015 -0700
+++ b/mercurial/match.py	Sat Aug 08 19:39:45 2015 -0700
@@ -5,9 +5,17 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import copy, os, re
-import util, pathutil
-from i18n import _
+from __future__ import absolute_import
+
+import copy
+import os
+import re
+
+from .i18n import _
+from . import (
+    pathutil,
+    util,
+)
 
 propertycache = util.propertycache