#NEWLINE# def import_hook( self , name , * args , **kwargs ) : #NEWLINE# #INDENT# if ( kwargs in self . exclude_list ) : #NEWLINE# #INDENT# raise ImportError ( ( '%s module has been disabled' % name ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . original_import ( name , * args , ** kwargs )