comparison src/memory/persistent.py @ 439:866dbb0d7d87

plugin maildir: maildir now use PersistentBinaryDictionary to store profile specific data /!\ profile needs to be connected for maildir/imap/smtp plugins to work, this has to be fixed
author Goffi <goffi@goffi.org>
date Sat, 03 Dec 2011 15:50:09 +0100
parents 31e8c48b5f5d
children ab9ddf6c7eaf
comparison
equal deleted inserted replaced
438:62145e50eae5 439:866dbb0d7d87
77 77
78 def __hash__(self): 78 def __hash__(self):
79 return self._cache.__hash__() 79 return self._cache.__hash__()
80 80
81 def __nonzero__(self): 81 def __nonzero__(self):
82 return self._cache.__nonzero__() 82 return self._cache.__len__()
83 83
84 def __unicode__(self): 84 def __unicode__(self):
85 return self._cache.__unicode__() 85 return self._cache.__unicode__()
86 86
87 def __contains__(self, key): 87 def __contains__(self, key):