[Erp5-report] r29088 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 17 13:43:01 CEST 2009


Author: kazuhiko
Date: Thu Sep 17 13:42:58 2009
New Revision: 29088

URL: http://svn.erp5.org?rev=29088&view=rev
Log:
fix a typo in r28862. this bug was found by failures of testERP5DocumentSyncML.

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=29088&r1=29087&r2=29088&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Thu Sep 17 13:42:58 2009
@@ -239,7 +239,7 @@
     """Update md5 checksum from the original file
     """
     data = self.getData()
-    self._setContentMd5(md5.new(data).digest()) #reindex is useless
+    self._setContentMd5(md5.new(data).hexdigest()) #reindex is useless
 
 class PermanentURLMixIn(ExtensibleTraversableMixIn):
   """




More information about the Erp5-report mailing list