Mercurial > hg
changeset 25955:2c07c6884394
i18n: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:28:49 -0700 |
parents | 7bbdb78d2842 |
children | 8cd30e9277ae |
files | mercurial/i18n.py |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/i18n.py Sat Aug 08 19:35:28 2015 -0700 +++ b/mercurial/i18n.py Sat Aug 08 19:28:49 2015 -0700 @@ -5,8 +5,14 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import encoding -import gettext as gettextmod, sys, os, locale +from __future__ import absolute_import + +import gettext as gettextmod +import locale +import os +import sys + +from . import encoding # modelled after templater.templatepath: if getattr(sys, 'frozen', None) is not None: