#NEWLINE# def load( self , * args , **kwargs ) : #NEWLINE# #INDENT# for app in self . apps_list : #NEWLINE# #INDENT# app_class_name = ( ( self . apps_location_prefix + '.' ) + app ) #NEWLINE# try : #NEWLINE# #INDENT# app_class = importutils . import_class ( app_class_name ) #NEWLINE# app = app_class ( * args , ** kwargs ) #NEWLINE# self . apps . append ( app ) #NEWLINE# #UNINDENT# except ImportError as e : #NEWLINE# #INDENT# LOG . exception ( _LE ( 'Error loading application by class, %s' ) , e ) #NEWLINE# raise ImportError ( _ ( 'Application class not found.' ) )