fix parse_host_port() parse error on hostname only arg

This commit is contained in:
Jeremy McMillan 2019-01-01 15:30:47 -06:00 committed by Pedro Algarvio
parent 571603c4ce
commit 080ab702c1

View File

@ -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: