[Erp5-report] r24332 - /erp5/trunk/products/ERP5/Document/Image.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 27 11:00:11 CET 2008
Author: jm
Date: Mon Oct 27 10:59:52 2008
New Revision: 24332
URL: http://svn.erp5.org?rev=24332&view=rev
Log:
r24318 is wrong, because ZPublisher looks at the signature the callee to know what parameters it can pass.
Modified:
erp5/trunk/products/ERP5/Document/Image.py
Modified: erp5/trunk/products/ERP5/Document/Image.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Image.py?rev=24332&r1=24331&r2=24332&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Image.py (original)
+++ erp5/trunk/products/ERP5/Document/Image.py Mon Oct 27 10:59:52 2008
@@ -526,10 +526,10 @@
File._setFile(self, *args, **kw)
self._update_image_info()
- def PUT(self, *args, **kw):
+ def PUT(self, REQUEST, RESPONSE):
"""set the file content by HTTP/FTP and reset image information.
"""
- File.PUT(self, *args, **kw)
+ File.PUT(self, REQUEST, RESPONSE)
self._update_image_info()
#
More information about the Erp5-report
mailing list