problem with cache exception fixed, thanks Niphlod

This commit is contained in:
Massimo Di Pierro
2012-01-12 14:17:11 -06:00
parent 871fd6dcfc
commit 49872485dc
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-12 14:14:38) stable Version 1.99.4 (2012-01-12 14:17:04) stable
+2
View File
@@ -261,6 +261,8 @@ class CacheOnDisk(CacheAbstract):
os.unlink(self.shelve_name) os.unlink(self.shelve_name)
except IOError: except IOError:
logger.warn('unable to delete file %s' % self.shelve_name) 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: if locker_locked:
portalocker.unlock(locker) portalocker.unlock(locker)
if locker: if locker: