[Erp5-report] r28908 - /erp5/trunk/products/ERP5/Document/Document.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 10 18:26:50 CEST 2009
Author: jm
Date: Thu Sep 10 18:26:48 2009
New Revision: 28908
URL: http://svn.erp5.org?rev=28908&view=rev
Log:
typo
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=28908&r1=28907&r2=28908&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Thu Sep 10 18:26:48 2009
@@ -1423,7 +1423,7 @@
if not isinstance(data, Pdata) and data is not None:
file = cStringIO.StringIO(data)
data, size = self._read_data(file)
- if getattr(self, 'update_date', None) is not None:
+ if getattr(self, 'update_data', None) is not None:
self.update_data(data, size=size) # We call this method to make sure size is set and caches reset
else:
self._baseSetData(data) # XXX - It would be better to always use this accessor
More information about the Erp5-report
mailing list