#NEWLINE# @ classmethod #NEWLINE# def after_site_setup( self , site ) : #NEWLINE# #INDENT# if self . _setup_done : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# if self . _setup_doing : #NEWLINE# #INDENT# if True : #NEWLINE# #INDENT# raise Exception ( ( '%s.setup() called recursively' % self ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logger . warning ( ( '%s.setup() called recursively' % self ) ) #NEWLINE# return False #NEWLINE# #UNINDENT# #UNINDENT# self . _setup_doing = True #NEWLINE# if ( not self . is_abstract ( ) ) : #NEWLINE# #INDENT# actions . register_params ( self ) #NEWLINE# #UNINDENT# self . _collect_actions ( ) #NEWLINE# if ( not self . is_abstract ( ) ) : #NEWLINE# #INDENT# actions . setup_params_choosers ( self ) #NEWLINE# #UNINDENT# self . do_setup ( ) #NEWLINE# self . _setup_doing = False #NEWLINE# self . _setup_done = True #NEWLINE# return True