Mercurial > public > mercurial-scm > hg-stable
diff mercurial/fancyopts.py @ 25947:6002e2d95e54
fancyopts: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:16:16 -0700 |
parents | 69e8384a436c |
children | 56b2bcea2529 |
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.