diff --git a/hgext/bugzilla.py b/hgext/bugzilla.py --- a/hgext/bugzilla.py +++ b/hgext/bugzilla.py @@ -277,10 +277,21 @@ All the above add a comment to the Bugzi 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 diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -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