hgext/bugzilla.py
changeset 50928 d718eddf01d9
parent 48946 642e31cb55f0
--- a/hgext/bugzilla.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/hgext/bugzilla.py	Thu Aug 31 23:56:15 2023 +0200
@@ -766,13 +766,13 @@
 # inheritance with a new-style class.
 class cookietransport(cookietransportrequest, xmlrpclib.Transport):
     def __init__(self, use_datetime=0):
-        if util.safehasattr(xmlrpclib.Transport, "__init__"):
+        if hasattr(xmlrpclib.Transport, "__init__"):
             xmlrpclib.Transport.__init__(self, use_datetime)
 
 
 class cookiesafetransport(cookietransportrequest, xmlrpclib.SafeTransport):
     def __init__(self, use_datetime=0):
-        if util.safehasattr(xmlrpclib.Transport, "__init__"):
+        if hasattr(xmlrpclib.Transport, "__init__"):
             xmlrpclib.SafeTransport.__init__(self, use_datetime)