(default='')
Helper to determine the node name of this machine.
Helper to determine the node name of this machine.
Helper to determine the node name of this machine .
def _node(default=''):

    """ Helper to determine the node name of this machine.
    """
    try:
        import socket
    except ImportError:
        # No sockets...
        return default
    try:
        return socket.gethostname()
    except OSError:
        # Still not working...
        return default
def _node ( default = '' ) : try : import socket except ImportError : # No sockets... return default try : return socket . gethostname ( ) except OSError : # Still not working... return default