def node_format(s, name, **extra):
 (shortname, host) = nodesplit(name)
 return host_format(s, host, (shortname or NODENAME_DEFAULT), p=name, **extra)

def node_format ( s , name , ** extra ) : ( shortname , host ) = nodesplit ( name ) return host_format ( s , host , ( shortname or NODENAME_DEFAULT ) , p = name , ** extra )
format worker node name .