def get_files_from_storage(paths):
        """Return S3 file where the name does not include the path."""
        for path in paths:
            f = default_storage.open(path)
            f.name = os.path.basename(path)
            try:
                yield f
            except ClientError:
                logger.exception("File not found: %s", path)
def get_files_from_storage ( paths ) : for path in paths : f = default_storage . open ( path ) f . name = os . path . basename ( path ) try : yield f except ClientError : logger . exception ( "File not found: %s" , path )
Return S3 file where the name does not include the path.