def default_nodename(hostname):
 (name, host) = nodesplit((hostname or u''))
 return nodename((name or NODENAME_DEFAULT), (host or gethostname()))

def default_nodename ( hostname ) : ( name , host ) = nodesplit ( ( hostname or u'' ) ) return nodename ( ( name or NODENAME_DEFAULT ) , ( host or gethostname ( ) ) )
return the default nodename for this process .