diff mercurial/pure/bdiff.py @ 27335:c4e3ff497f89

bdiff: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 Dec 2015 13:34:55 -0500
parents eeac5e179243
children 9ab45fbe045e
line wrap: on
line diff
--- a/mercurial/pure/bdiff.py	Sat Dec 12 13:33:47 2015 -0500
+++ b/mercurial/pure/bdiff.py	Sat Dec 12 13:34:55 2015 -0500
@@ -5,7 +5,11 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import struct, difflib, re
+from __future__ import absolute_import
+
+import difflib
+import re
+import struct
 
 def splitnewlines(text):
     '''like str.splitlines, but only split on newlines.'''