--- a/hgext/bugzilla.py Tue Feb 09 17:30:38 2016 -0800
+++ b/hgext/bugzilla.py Tue Feb 09 17:31:50 2016 -0800
@@ -277,10 +277,21 @@
Changeset commit comment. Bug 1234.
'''
+from __future__ import absolute_import
+
+import re
+import time
+import urlparse
+import xmlrpclib
+
from mercurial.i18n import _
from mercurial.node import short
-from mercurial import cmdutil, mail, util, error
-import re, time, urlparse, xmlrpclib
+from mercurial import (
+ cmdutil,
+ error,
+ mail,
+ util,
+)
# Note for extension authors: ONLY specify testedwith = 'internal' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
--- a/tests/test-check-py3-compat.t Tue Feb 09 17:30:38 2016 -0800
+++ b/tests/test-check-py3-compat.t Tue Feb 09 17:31:50 2016 -0800
@@ -32,7 +32,6 @@
doc/gendoc.py not using absolute_import
doc/hgmanpage.py not using absolute_import
hgext/__init__.py not using absolute_import
- hgext/bugzilla.py not using absolute_import
hgext/censor.py not using absolute_import
hgext/children.py not using absolute_import
hgext/churn.py not using absolute_import