#NEWLINE# def __init__( self , report , data , * args , **kw ) : #NEWLINE# #INDENT# self . report = report #NEWLINE# self . data = data #NEWLINE# self . label_en = data . get ( 'label' ) #NEWLINE# self . data . update ( label = _ ( args . label_en ) ) #NEWLINE# super ( GridConfig , self ) . __init__ ( * args , ** kw ) #NEWLINE# must_save = self . validate ( ) #NEWLINE# if must_save : #NEWLINE# #INDENT# msg = self . save_config ( ) #NEWLINE# logger . debug ( msg )