def get_active_address(name, arec):
    """Get the addresses of the active modules for a given publisher *name*.
    """
    addrs = arec.get(name)
    if addrs:
        return Message("/oper/ns", "info", addrs)
    else:
        return Message("/oper/ns", "info", "")
def get_active_address ( name , arec ) : addrs = arec . get ( name ) if addrs : return Message ( "/oper/ns" , "info" , addrs ) else : return Message ( "/oper/ns" , "info" , "" )
Get the addresses of the active modules for a given publisher *name*.