From 1b3a7773d9f6fe01f76164957a4cc9bceac26d16 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 23 Jan 2004 14:21:02 +0000
Subject: [PATCH] change object by content

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@266 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Accessor/Base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/Accessor/Base.py b/product/ERP5Type/Accessor/Base.py
index 0db402cb2a..d9cf9fe82c 100755
--- a/product/ERP5Type/Accessor/Base.py
+++ b/product/ERP5Type/Accessor/Base.py
@@ -67,7 +67,7 @@ class Setter(Method):
         # Modify the property
         if value in self._null:
           setattr(instance, self._storage_id, None)
-        elif self._property_type is 'object':
+        elif self._property_type is 'content':
           # A file object should be provided
           file_upload = args[0]
           if isinstance(file_upload, FileUpload):
-- 
2.30.9