diff hgext/blackbox.py @ 28090:8113c88b8e6d

blackbox: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 09 Feb 2016 17:30:38 -0800
parents 14033c5dd261
children 45313f5a3a8c
line wrap: on
line diff
--- a/hgext/blackbox.py	Tue Feb 09 17:29:39 2016 -0800
+++ b/hgext/blackbox.py	Tue Feb 09 17:30:38 2016 -0800
@@ -29,9 +29,16 @@
 
 """
 
-from mercurial import util, cmdutil
+from __future__ import absolute_import
+
+import errno
+import re
+
 from mercurial.i18n import _
-import errno, re
+from mercurial import (
+    cmdutil,
+    util,
+)
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)