mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix parse_host_port() parse error on hostname only arg
This commit is contained in:
parent
571603c4ce
commit
080ab702c1
@ -236,8 +236,13 @@ def get_fqhostname():
|
||||
"""
|
||||
Returns the fully qualified hostname
|
||||
"""
|
||||
<<<<<<< HEAD
|
||||
fqdn = []
|
||||
fqdn.append(socket.getfqdn())
|
||||
=======
|
||||
l = []
|
||||
l.append(socket.getfqdn())
|
||||
>>>>>>> fix parse_host_port() parse error on hostname only arg
|
||||
|
||||
# try socket.getaddrinfo
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user