Mercurial > hg-stable
changeset 25986:89049011f304
transaction: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 20:10:23 -0700 |
parents | 7eb357b5f774 |
children | c6d049a5de43 |
files | mercurial/transaction.py |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/transaction.py Sat Aug 08 18:23:53 2015 -0700 +++ b/mercurial/transaction.py Sat Aug 08 20:10:23 2015 -0700 @@ -11,9 +11,15 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from i18n import _ +from __future__ import absolute_import + import errno -import error, util + +from .i18n import _ +from . import ( + error, + util, +) version = 2