#NEWLINE# def mapper_final( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# import foo #NEWLINE# foo #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# for ( dirpath , _ , filenames ) in os . walk ( '.' ) : #NEWLINE# #INDENT# for filename in filenames : #NEWLINE# #INDENT# path = os . path . join ( dirpath , filename ) #NEWLINE# size = os . path . getsize ( path ) #NEWLINE# ( yield ( path , self ) )