#NEWLINE# def walk( self ) : #NEWLINE# #INDENT# files = [ ] #NEWLINE# for ( dirpath , dirnames , filenames ) in os . walk ( self . root ) : #NEWLINE# #INDENT# for name in sorted ( filenames ) : #NEWLINE# #INDENT# ( start , ext ) = os . path . splitext ( name ) #NEWLINE# if ( ext in self . ignore_exts ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# absp = os . path . join ( dirpath , name ) #NEWLINE# path = os . path . relpath ( absp , self . root ) #NEWLINE# files . append ( path ) #NEWLINE# #UNINDENT# #UNINDENT# logger . info ( ( 'found: %d files' % len ( start ) ) ) #NEWLINE# return files