Mercurial > hg-stable
changeset 25968:1139d7cf9405
progress: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:57:10 -0700 |
parents | 224a33452ed4 |
children | 7b200566e474 |
files | mercurial/progress.py |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/progress.py Sat Aug 08 19:56:58 2015 -0700 +++ b/mercurial/progress.py Sat Aug 08 19:57:10 2015 -0700 @@ -5,13 +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. +from __future__ import absolute_import + import sys -import time import threading -from mercurial import encoding +import time -from mercurial.i18n import _ - +from .i18n import _ +from . import encoding def spacejoin(*args): return ' '.join(s for s in args if s)