##// END OF EJS Templates
bugzilla: pass the url to xmlrpclib.ServerProxy as str
Mads Kiilerich -
r46695:734d051d stable
parent child Browse files
Show More
@@ -759,7 +759,9 b' class bzxmlrpc(bzaccess):'
759 self.fixstatus = self.ui.config(b'bugzilla', b'fixstatus')
759 self.fixstatus = self.ui.config(b'bugzilla', b'fixstatus')
760 self.fixresolution = self.ui.config(b'bugzilla', b'fixresolution')
760 self.fixresolution = self.ui.config(b'bugzilla', b'fixresolution')
761
761
762 self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
762 self.bzproxy = xmlrpclib.ServerProxy(
763 pycompat.strurl(bzweb), self.transport(bzweb)
764 )
763 ver = self.bzproxy.Bugzilla.version()[b'version'].split(b'.')
765 ver = self.bzproxy.Bugzilla.version()[b'version'].split(b'.')
764 self.bzvermajor = int(ver[0])
766 self.bzvermajor = int(ver[0])
765 self.bzverminor = int(ver[1])
767 self.bzverminor = int(ver[1])
General Comments 0
You need to be logged in to leave comments. Login now