Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/src/memory/persistent.py Sat Dec 03 15:45:48 2011 +0100 +++ b/src/memory/persistent.py Sat Dec 03 15:50:09 2011 +0100 @@ -79,7 +79,7 @@ return self._cache.__hash__() def __nonzero__(self): - return self._cache.__nonzero__() + return self._cache.__len__() def __unicode__(self): return self._cache.__unicode__()