#NEWLINE# def list( self , where ) : #NEWLINE# #INDENT# '\n        List the current schedule items\n        ' #NEWLINE# schedule = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if ( where == 'pillar' ) : #NEWLINE# #INDENT# if ( 'schedule' in self . opts [ 'pillar' ] ) : #NEWLINE# #INDENT# schedule . update ( self . opts [ 'pillar' ] [ 'schedule' ] ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( where == 'opts' ) : #NEWLINE# #INDENT# schedule . update ( self . opts [ 'schedule' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# schedule . update ( self . opts [ 'schedule' ] ) #NEWLINE# if ( 'schedule' in self . opts [ 'pillar' ] ) : #NEWLINE# #INDENT# schedule . update ( self . opts [ 'pillar' ] [ 'schedule' ] ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# evt = salt . utils . event . get_event ( 'minion' , opts = self . opts , listen = False ) #NEWLINE# evt . fire_event ( { #NEWLINE# #INDENT# 'complete' : True , #NEWLINE# 'schedule' : schedule , #NEWLINE# #UNINDENT# } , tag = '/salt/minion/minion_schedule_list_complete' )