Commit 96bbcf78 authored by Romain Courteaud's avatar Romain Courteaud

By JPS.

Fix typo error.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12140 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e9a0beac
......@@ -71,7 +71,7 @@ class Setter(Method):
# Modify the property
if value in self._null:
setattr(instance, self._storage_id, None)
elif self._property_type is 'content':
elif self._property_type == 'content':
# A file object should be provided
file_upload = args[0]
if isinstance(file_upload, FileUpload):
......
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