Comment 2 for bug 981294

Revision history for this message
Christian Berendt (berendt) wrote :

Using socket.getfqdn() looks good to me (http://docs.python.org/library/socket.html)

If socket.getfqdn() doesn't return the FQDN it fails back to socket.gethostname() (that's the state of the art in flags.py).