hgext/bugzilla.py
changeset 29431 80880ad3fccd
parent 28950 9e1c9f016b72
child 29432 34b914ac573e
--- 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