# HG changeset patch # User Gregory Szorc # Date 2015-08-09 02:16:16 # Node ID 6002e2d95e5443383ef425af1a01c77c9ed60089 # Parent 5e0d80195a0f6a233271d1a17689bddeff6d7a5a fancyopts: use absolute_import diff --git a/mercurial/fancyopts.py b/mercurial/fancyopts.py --- a/mercurial/fancyopts.py +++ b/mercurial/fancyopts.py @@ -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.