##// END OF EJS Templates
bugzilla: use util.urlreq.urlparse...
Gregory Szorc -
r31570:29fcfb98 default
parent child Browse files
Show More
@@ -307,7 +307,6 b' from mercurial import ('
307 307 util,
308 308 )
309 309
310 urlparse = util.urlparse
311 310 xmlrpclib = util.xmlrpclib
312 311
313 312 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
@@ -657,7 +656,7 b' class bzxmlrpc(bzaccess):'
657 656 self.bztoken = login.get('token', '')
658 657
659 658 def transport(self, uri):
660 if urlparse.urlparse(uri, "http")[0] == "https":
659 if util.urlreq.urlparse(uri, "http")[0] == "https":
661 660 return cookiesafetransport()
662 661 else:
663 662 return cookietransport()
General Comments 0
You need to be logged in to leave comments. Login now