problem with cache exception fixed, thanks Niphlod

This commit is contained in:
Massimo Di Pierro committed 2012-01-12 14:17:11 -06:00
1 parent 871fd6dcfc
commit 49872485dc
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -261,6 +261,8 @@ class CacheOnDisk(CacheAbstract):
os.unlink(self.shelve_name)
except IOError:
logger.warn('unable to delete file %s' % self.shelve_name)
except OSError:
logger.warn('unable to delete file %s' % self.shelve_name)
if locker_locked:
portalocker.unlock(locker)
if locker: