Comment 1 for bug 1229823

Revision history for this message
Masaki Matsushita (mmasaki) wrote :

Currently, it checks cached file existence.

image_cache/drivers/sqlite.py: 491

def delete_cached_file(path):
    if os.path.exists(path):
        LOG.debug("Deleting image cache file '%s'", path)
        os.unlink(path)
    else:
        LOG.warn(_LW("Cached image file '%s' doesn't exist, unable to"
                     " delete") % path)