record: use absolute_import
authortimeless <timeless@mozdev.org>
Wed, 02 Mar 2016 21:38:32 +0000
changeset 28381 44ffbb2a4f59
parent 28380 ad266834251b
child 28382 27996f78a64c
record: use absolute_import
hgext/record.py
tests/test-check-py3-compat.t
--- a/hgext/record.py	Wed Mar 02 21:36:14 2016 +0000
+++ b/hgext/record.py	Wed Mar 02 21:38:32 2016 +0000
@@ -6,10 +6,15 @@
 # GNU General Public License version 2 or any later version.
 
 '''commands to interactively select changes for commit/qrefresh'''
+from __future__ import absolute_import
 
+from mercurial import (
+    cmdutil,
+    commands,
+    error,
+    extensions,
+)
 from mercurial.i18n import _
-from mercurial import cmdutil, commands, extensions
-from mercurial import error
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)
--- a/tests/test-check-py3-compat.t	Wed Mar 02 21:36:14 2016 +0000
+++ b/tests/test-check-py3-compat.t	Wed Mar 02 21:38:32 2016 +0000
@@ -58,7 +58,6 @@
   hgext/patchbomb.py not using absolute_import
   hgext/purge.py not using absolute_import
   hgext/rebase.py not using absolute_import
-  hgext/record.py not using absolute_import
   hgext/share.py not using absolute_import
   hgext/transplant.py not using absolute_import
   hgext/win32mbcs.py not using absolute_import