Mercurial > hg-stable
changeset 28320:63c2864af25f
pager: use absolute_import
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 28 Feb 2016 22:15:00 -0500 |
parents | 09222d39fa34 |
children | a7b453b47726 |
files | hgext/pager.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 14 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Sun Feb 28 22:13:47 2016 -0500 +++ b/hgext/pager.py Sun Feb 28 22:15:00 2016 -0500 @@ -58,9 +58,21 @@ will also work). ''' +from __future__ import absolute_import -import atexit, sys, os, signal, subprocess -from mercurial import commands, dispatch, util, extensions, cmdutil +import atexit +import os +import signal +import subprocess +import sys + +from mercurial import ( + cmdutil, + commands, + dispatch, + extensions, + util, + ) from mercurial.i18n import _ # Note for extension authors: ONLY specify testedwith = 'internal' for
--- a/tests/test-check-py3-compat.t Sun Feb 28 22:13:47 2016 -0500 +++ b/tests/test-check-py3-compat.t Sun Feb 28 22:15:00 2016 -0500 @@ -73,7 +73,6 @@ hgext/largefiles/wirestore.py not using absolute_import hgext/mq.py not using absolute_import hgext/notify.py not using absolute_import - hgext/pager.py not using absolute_import hgext/patchbomb.py not using absolute_import hgext/purge.py not using absolute_import hgext/rebase.py not using absolute_import