File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def __init__(
9696 except Exception :
9797 raise ConfigurationError (_INVALID_HOST_MSG % (fqdn ,)) from None
9898 self .__slen = len (self .__plist )
99- if fqdn == self ._resolve_uri (True )[0 ].target .to_text ():
100- raise ConfigurationError (
101- "Invalid SRV host: return address is identical to SRV hostname"
102- )
10399
104100 async def get_options (self ) -> Optional [str ]:
105101 from dns import resolver
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def __init__(
9696 except Exception :
9797 raise ConfigurationError (_INVALID_HOST_MSG % (fqdn ,)) from None
9898 self .__slen = len (self .__plist )
99- if fqdn == self ._resolve_uri (True )[0 ].target .to_text ():
100- raise ConfigurationError (
101- "Invalid SRV host: return address is identical to SRV hostname"
102- )
10399
104100 def get_options (self ) -> Optional [str ]:
105101 from dns import resolver
You can’t perform that action at this time.
0 commit comments