diff mercurial/lsprofcalltree.py @ 27505:071af8d385a9

lsprofcalltree: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Dec 2015 21:44:15 -0800
parents beae42f3d93b
children 5a988b3c9645
line wrap: on
line diff
--- a/mercurial/lsprofcalltree.py	Mon Dec 21 21:42:14 2015 -0800
+++ b/mercurial/lsprofcalltree.py	Mon Dec 21 21:44:15 2015 -0800
@@ -10,6 +10,8 @@
 of the GNU General Public License, incorporated herein by reference.
 """
 
+from __future__ import absolute_import
+
 def label(code):
     if isinstance(code, str):
         return '~' + code    # built-in functions ('~' sorts at the end)