diff -r 72065b3b90a4 -r 80880ad3fccd hgext/bugzilla.py --- a/hgext/bugzilla.py Mon Jun 27 15:53:38 2016 +0530 +++ b/hgext/bugzilla.py Mon Jun 27 16:16:10 2016 +0530 @@ -281,7 +281,6 @@ import re import time -import urlparse import xmlrpclib from mercurial.i18n import _ @@ -293,6 +292,8 @@ util, ) +urlparse = util.urlparse + # Note for extension authors: ONLY specify testedwith = 'internal' for # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should # be specifying the version(s) of Mercurial they are tested with, or