#NEWLINE# def _gather_pillar( pillarenv , pillar_override ) : #NEWLINE# #INDENT# '\n    Whenever a state run starts, gather the pillar data fresh\n    ' #NEWLINE# pillar = salt . pillar . get_pillar ( __opts__ , __grains__ , __opts__ [ 'id' ] , __opts__ [ 'environment' ] , pillar = pillar_override , pillarenv = pillarenv ) #NEWLINE# ret = pillar . compile_pillar ( ) #NEWLINE# if ( pillar_override and isinstance ( pillar_override , dict ) ) : #NEWLINE# #INDENT# ret . update ( pillar_override ) #NEWLINE# #UNINDENT# return ret