def build_audit_info(parent_audit_id=None):
 audit_id = random_urlsafe_str()
 if (parent_audit_id is not None):
  return [audit_id, parent_audit_id]
 return [audit_id]

def build_audit_info ( parent_audit_id = None ) : audit_id = random_urlsafe_str ( ) if ( parent_audit_id is not None ) : return [ audit_id , parent_audit_id ] return [ audit_id ]
build the audit data for a token .