Mercurial > hg-stable
changeset 25984:c57509e88922
templatekw: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 20:09:43 -0700 |
parents | 1245049da5f3 |
children | 7eb357b5f774 |
files | mercurial/templatekw.py |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatekw.py Sat Aug 08 20:08:52 2015 -0700 +++ b/mercurial/templatekw.py Sat Aug 08 20:09:43 2015 -0700 @@ -5,9 +5,16 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from node import hex -import patch, scmutil, util, error -import hbisect +from __future__ import absolute_import + +from .node import hex +from . import ( + error, + hbisect, + patch, + scmutil, + util, +) # This helper class allows us to handle both: # "{files}" (legacy command-line-specific list hack) and