#NEWLINE# def get_mtime( filename ) : #NEWLINE# #INDENT# if settings . MTIME_DELAY : #NEWLINE# #INDENT# key = get_mtime_cachekey ( filename ) #NEWLINE# cache = get_cache ( ) #NEWLINE# mtime = cache . get ( key ) #NEWLINE# if ( mtime is None ) : #NEWLINE# #INDENT# mtime = os . path . getmtime ( filename ) #NEWLINE# cache . set ( key , mtime , settings . MTIME_DELAY ) #NEWLINE# #UNINDENT# return mtime #NEWLINE# #UNINDENT# return os . path . getmtime ( filename )