[Erp5-report] r35205 nicolas - /erp5/trunk/products/ERP5/interfaces/cached_convertable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 12 14:50:02 CEST 2010


Author: nicolas
Date: Wed May 12 14:50:00 2010
New Revision: 35205

URL: http://svn.erp5.org?rev=35205&view=rev
Log:
Add updateContentMd5 method in interface.

This method will help caching handling by checking
that cached conversion result is computed from same data
as the one carried by document.

Modified:
    erp5/trunk/products/ERP5/interfaces/cached_convertable.py

Modified: erp5/trunk/products/ERP5/interfaces/cached_convertable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/cached_convertable.py?rev=35205&r1=35204&r2=35205&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/cached_convertable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/cached_convertable.py [utf8] Wed May 12 14:50:00 2010
@@ -90,3 +90,9 @@
 
     **kw -- conversion parameters
     """
+
+  def updateContentMd5():
+    """
+    Udpate MD5 hash of non converted data in order
+    to check that returned cached result was computed from same origin.
+    """




More information about the Erp5-report mailing list