##// 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 util,
307 util,
308 )
308 )
309
309
310 urlparse = util.urlparse
311 xmlrpclib = util.xmlrpclib
310 xmlrpclib = util.xmlrpclib
312
311
313 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
312 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
@@ -657,7 +656,7 b' class bzxmlrpc(bzaccess):'
657 self.bztoken = login.get('token', '')
656 self.bztoken = login.get('token', '')
658
657
659 def transport(self, uri):
658 def transport(self, uri):
660 if urlparse.urlparse(uri, "http")[0] == "https":
659 if util.urlreq.urlparse(uri, "http")[0] == "https":
661 return cookiesafetransport()
660 return cookiesafetransport()
662 else:
661 else:
663 return cookietransport()
662 return cookietransport()
General Comments 0
You need to be logged in to leave comments. Login now