pager: use absolute_import
authorAugie Fackler <augie@google.com>
Sun, 28 Feb 2016 22:15:00 -0500
changeset 28320 63c2864af25f
parent 28319 09222d39fa34
child 28321 a7b453b47726
pager: use absolute_import
hgext/pager.py
tests/test-check-py3-compat.t
--- 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