[Neo-report] r1855 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 24 16:40:19 CET 2010
Author: vincent
Date: Wed Feb 24 16:40:17 2010
New Revision: 1855
Log:
When the "transactional undo" object is stored, prune it from cache.
Modified:
trunk/neo/client/app.py
Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Wed Feb 24 16:40:17 2010
@@ -750,8 +750,11 @@
try:
for oid in self.local_var.data_dict.iterkeys():
data = self.local_var.data_dict[oid]
- # Now serial is same as tid
- self.mq_cache[oid] = self.local_var.tid, data
+ if data == '':
+ del self.mq_cache[oid]
+ else:
+ # Now serial is same as tid
+ self.mq_cache[oid] = self.local_var.tid, data
finally:
self._cache_lock_release()
self.local_var.clear()
More information about the Neo-report
mailing list