Commit e683a0a7 authored by Julien Muchembled's avatar Julien Muchembled

r24318 is wrong, because ZPublisher looks at the signature the callee to know...

r24318 is wrong, because ZPublisher looks at the signature the callee to know what parameters it can pass.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24332 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c574f58
......@@ -526,10 +526,10 @@ class Image(File, OFSImage):
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()
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment