#NEWLINE# def _load_view_non_cached( self , name , view_element ) : #NEWLINE# #INDENT# ' Loads the view by execing a file. Useful when tweaking\n            views.\n        ' #NEWLINE# result = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# view_filename = self . _view_filename #NEWLINE# try : #NEWLINE# #INDENT# exec ( compile ( open ( view_filename ) . read ( ) , view_filename , 'exec' ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , result ) #NEWLINE# view = result [ 'view' ] #NEWLINE# #UNINDENT# except IOError : #NEWLINE# #INDENT# logger . debug ( 'No view found for [%s] in [%s]. Using the base class trait_view instead.' , self , view_filename ) #NEWLINE# view = super ( Base , self ) . trait_view ( view , view_element ) #NEWLINE# #UNINDENT# return view