mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
syntax error bad parentheses
This commit is contained in:
parent
24bb94fb9e
commit
27254fce37
@ -1893,7 +1893,7 @@ def dns_check(addr, port, safe=False, ipv6=None):
|
||||
|
||||
try:
|
||||
s = socket.socket(h[0], socket.SOCK_STREAM)
|
||||
s.connect((candidate_addr), port))
|
||||
s.connect(candidate_addr, port)
|
||||
s.close()
|
||||
|
||||
resolved = candidate_addr
|
||||
|
Loading…
Reference in New Issue
Block a user