#NEWLINE# def find_mtimes( self , context , silent_build ) : #NEWLINE# #INDENT# '\n        Return [(filename, mtime), ...] for all the files.\n\n        Where the mtime comes from git or is None depending on the value of\n        use_git_timestamps\n\n        use_git_timestamps can be True indicating all files or it can be a list\n        of globs indicating which files should receive git timestamps.\n        ' #NEWLINE# if ( not context . enabled ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# mtimes = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if context . use_git : #NEWLINE# #INDENT# mtimes = self . find_git_mtimes ( context , silent_build ) #NEWLINE# #UNINDENT# ( files , mtime_ignoreable ) = self . find_files ( context , silent_build ) #NEWLINE# for path in files : #NEWLINE# #INDENT# relname = os . path . relpath ( path , relname . parent_dir ) #NEWLINE# arcname = './{0}' . format ( relname . encode ( 'utf-8' ) . decode ( 'ascii' , 'ignore' ) ) #NEWLINE# if os . path . exists ( path ) : #NEWLINE# #INDENT# if ( ( not context . use_git_timestamps ) or ( relname in mtime_ignoreable ) ) : #NEWLINE# #INDENT# ( yield ( path , None , arcname ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( yield ( path , mtimes . get ( relname ) , arcname ) )