Commit 4aee2923 authored by Jason Madden's avatar Jason Madden

More on ares; different results under linux.

parent 5af8c102
......@@ -222,7 +222,10 @@ def getfqdn(name=''):
else:
aliases.insert(0, hostname)
for name in aliases:
if b'.' in name:
if isinstance(name, bytes):
if b'.' in name:
break
elif '.' in name:
break
else:
name = hostname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment