Mercurial > hg-stable
changeset 25947:6002e2d95e54
fancyopts: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:16:16 -0700 |
parents | 5e0d80195a0f |
children | 34bd1a5eef5b |
files | mercurial/fancyopts.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/fancyopts.py Sat Aug 08 19:13:14 2015 -0700 +++ b/mercurial/fancyopts.py Sat Aug 08 19:16:16 2015 -0700 @@ -5,9 +5,12 @@ # 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 getopt -import util -from i18n import _ + +from .i18n import _ +from . import util def gnugetopt(args, options, longoptions): """Parse options mostly like getopt.gnu_getopt.