def _context_dict_to_string(context):
 return '{sel_user}:{sel_role}:{sel_type}:{sel_level}'.format(**context)

def _context_dict_to_string ( context ) : return '{sel_user}:{sel_role}:{sel_type}:{sel_level}' . format ( ** context )
converts an selinux file context from a dict to a string .