precompressed/storage/base.py
def should_skip_processing(self, source_storage, path, gzipped_name):

        """
        return True if the specified file should not be processed.
        for example, because the processed version already exists
        and is up to date.

        """

        if self.exists(gzipped_name):
            try:
                target_last_modified = self.modified_time(gzipped_name)
                source_last_modified = source_storage.modified_time(path)
                if target_last_modified >= source_last_modified:
                    return True
            except (AttributeError, NotImplementedError, OSError, ValueError):
                pass
        return False

        return True if the specified file should not be processed.
        for example, because the processed version already exists
        and is up to date.

        
return True if the specified file should not be processed.
for example, because the processed version already exists
and is up to date.
return True if the specified file should not be processed . for example because the processed version already exists and is up to date .
def should_skip_processing(self, source_storage, path, gzipped_name):
        if self.exists(gzipped_name):
            try:
                target_last_modified = self.modified_time(gzipped_name)
                source_last_modified = source_storage.modified_time(path)
                if target_last_modified >= source_last_modified:
                    return True
            except (AttributeError, NotImplementedError, OSError, ValueError):
                pass
        return False
def should_skip_processing ( self , source_storage , path , gzipped_name ) : if self . exists ( gzipped_name ) : try : target_last_modified = self . modified_time ( gzipped_name ) source_last_modified = source_storage . modified_time ( path ) if target_last_modified >= source_last_modified : return True except ( AttributeError , NotImplementedError , OSError , ValueError ) : pass return False
return True if the specified file should not be processed.
return True if the specified file should not be processed .
"""
        return True if the specified file should not be processed.
        for example, because the processed version already exists
        and is up to date.

        """
self
source_storage
path
gzipped_name