resync get_hostname
This commit is contained in:
parent
200d84d48c
commit
82d657a8a9
|
@ -432,7 +432,7 @@ def get_hostname(address, fqdn=True):
|
|||
if not result:
|
||||
return None
|
||||
else:
|
||||
return = address
|
||||
result = address
|
||||
|
||||
if fqdn:
|
||||
# strip trailing .
|
||||
|
|
Loading…
Reference in New Issue