]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
ignore duplicate name warning as it is not a bug
authorBob Halley <halley@dnspython.org>
Fri, 1 May 2020 15:29:46 +0000 (08:29 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 1 May 2020 15:29:46 +0000 (08:29 -0700)
dns/query.pyi

index 99974a181360c38d37f0f8ad0d37bd8dedd09b88..37bdd46a3ac13f44fa1a44539c508437b5815d56 100644 (file)
@@ -10,7 +10,7 @@ from requests.sessions import Session
 try:
     import ssl
 except ImportError:
-    class ssl(object):
+    class ssl(object): # type: ignore
         SSLContext : Dict = {}
 
 def https(q : message.Message, where: str, timeout : Optional[float] = None, port : Optional[int] = 443, af : Optional[int] = None, source : Optional[str] = None, source_port : Optional[int] = 0,