josegonzalez/beaver — pull request #69 by kitchen (2012-12-16 02:26:21+00:00)
Title: add optional support for socket.getfqdn

For my setup I need to have the fqdn used at all times since my
hostnames are the same but the environment (among other things) is
found in the rest of the FQDN.

Since just changing socket.gethostname to socket.getfqdn has lots of
potential for breakage, and socket.gethostname doesn't always return an
FQDN, it's now an option to explicitly always use the fqdn.

Fixes #68

As for how the arg is making it into the transport.__init__ method, there some precedent for doing this (passing args to the transport constructor) in the ZmqTransport class, and it could be potentially useful later.