[Neo-report] r2551 vincent - /trunk/neo/client/mq.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 16 12:19:32 CET 2010


Author: vincent
Date: Thu Dec 16 12:19:32 2010
New Revision: 2551

Log:
Always update cache size when pruning data.

Modified:
    trunk/neo/client/mq.py

Modified: trunk/neo/client/mq.py
==============================================================================
--- trunk/neo/client/mq.py [iso-8859-1] (original)
+++ trunk/neo/client/mq.py [iso-8859-1] Thu Dec 16 12:19:32 2010
@@ -326,7 +326,7 @@ class MQ(object):
                     del data.value
                 if size <= max_size:
                     break
-                self._size = size
+            self._size = size
 
     __setitem__ = store
 




More information about the Neo-report mailing list