#NEWLINE# def __init__( self , tgt = '' , expr_form = 'glob' , saltenv = None , use_cached_grains = True , use_cached_pillar = True , grains_fallback = True , pillar_fallback = True , opts = None ) : #NEWLINE# #INDENT# log . debug ( 'New instance of {0} created.' . format ( self . __class__ . __name__ ) ) #NEWLINE# if ( opts is None ) : #NEWLINE# #INDENT# log . error ( '{0}: Missing master opts init arg.' . format ( self . __class__ . __name__ ) ) #NEWLINE# raise SaltException ( '{0}: Missing master opts init arg.' . format ( self . __class__ . __name__ ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . opts = opts #NEWLINE# #UNINDENT# self . serial = salt . payload . Serial ( self . opts ) #NEWLINE# self . tgt = tgt #NEWLINE# self . expr_form = expr_form #NEWLINE# self . saltenv = saltenv #NEWLINE# self . use_cached_grains = use_cached_grains #NEWLINE# self . use_cached_pillar = use_cached_pillar #NEWLINE# self . grains_fallback = grains_fallback #NEWLINE# self . pillar_fallback = pillar_fallback #NEWLINE# log . debug ( "Init settings: tgt: '{0}', expr_form: '{1}', saltenv: '{2}', use_cached_grains: {3}, use_cached_pillar: {4}, grains_fallback: {5}, pillar_fallback: {6}" . format ( tgt , expr_form , saltenv , use_cached_grains , use_cached_pillar , grains_fallback , pillar_fallback ) )