--- a/hgext/bugzilla.py Thu Dec 03 22:49:01 2020 +0100
+++ b/hgext/bugzilla.py Thu Dec 03 22:49:01 2020 +0100
@@ -759,7 +759,9 @@
self.fixstatus = self.ui.config(b'bugzilla', b'fixstatus')
self.fixresolution = self.ui.config(b'bugzilla', b'fixresolution')
- self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
+ self.bzproxy = xmlrpclib.ServerProxy(
+ pycompat.strurl(bzweb), self.transport(bzweb)
+ )
ver = self.bzproxy.Bugzilla.version()[b'version'].split(b'.')
self.bzvermajor = int(ver[0])
self.bzverminor = int(ver[1])