problem with cache exception fixed, thanks Niphlod
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.4 (2012-01-12 14:14:38) stable
|
Version 1.99.4 (2012-01-12 14:17:04) stable
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user