Commit 4ffb8fa8 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Accept arbitrary keywords.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4238 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 845d6a9b
......@@ -603,7 +603,7 @@ class ZCatalog(Folder, Persistent, Implicit):
#LOG('ZSQLCatalog wrapObject', 0, 'object = %r, kw = %r' % (object, kw))
return object
def catalog_object(self, obj, url=None, idxs=[], is_object_moved=0, sql_catalog_id=None):
def catalog_object(self, obj, url=None, idxs=[], is_object_moved=0, sql_catalog_id=None, **kw):
""" wrapper around catalog """
self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
......
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