From d30b493c2b04f8744efa923e0ce805dde20a7e8c Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Tue, 17 Nov 2009 14:37:26 +0000 Subject: [PATCH] remove IContentish from Products.ERP5.Document.File.File and consequently all its derived classes (like Image), removing a source of double indexing and catalog UID confusion git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30692 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/File.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/File.py b/product/ERP5/Document/File.py index cc9a0a40bc..ecd141c83e 100644 --- a/product/ERP5/Document/File.py +++ b/product/ERP5/Document/File.py @@ -36,7 +36,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, interfaces from Products.ERP5Type.Cache import CachingMethod from Products.ERP5.Document.Document import Document from Products.ERP5.Document.Document import ConversionError -from Products.ERP5Type.Base import Base +from Products.ERP5Type.Base import Base, removeIContentishInterface from Products.CMFDefault.File import File as CMFFile from zLOG import LOG from DateTime import DateTime @@ -227,3 +227,6 @@ class File(Document, CMFFile, CachedConvertableMixin): return (mime_type, content) +# CMFFile also brings the IContentishInterface on CMF 2.2, remove it. +removeIContentishInterface(File) + -- 2.30.9