Commit d2658df6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

New predicate API


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 01872342
...@@ -73,6 +73,10 @@ def initialize( context ): ...@@ -73,6 +73,10 @@ def initialize( context ):
import Document import Document
from zLOG import LOG from zLOG import LOG
LOG('In ERP5 initialize', 0, '') LOG('In ERP5 initialize', 0, '')
# For compatibility
import Document
Document.PredicateGroup = Document.Predicate
# Initialize
initializeProduct(context, this_module, globals(), initializeProduct(context, this_module, globals(),
document_module = Document, document_module = Document,
document_classes = document_classes, document_classes = document_classes,
...@@ -80,3 +84,5 @@ def initialize( context ): ...@@ -80,3 +84,5 @@ def initialize( context ):
portal_tools = portal_tools, portal_tools = portal_tools,
content_constructors = content_constructors, content_constructors = content_constructors,
content_classes = content_classes) content_classes = content_classes)
\ No newline at end of file
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