changeset 25979:b723f05ec49b

strutil: use absolute_import This file doesn't import anything. But chances are we'll eventually implement a static analysis check that ensures absolute_import is used. So we might as well add this.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 20:01:40 -0700
parents 762f4c6df6b1
children 38c585c2f8cc
files mercurial/strutil.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/strutil.py	Sat Aug 08 20:11:08 2015 -0700
+++ b/mercurial/strutil.py	Sat Aug 08 20:01:40 2015 -0700
@@ -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
+
 def findall(haystack, needle, start=0, end=None):
     if end is None:
         end = len(haystack)