Commit bf73a842 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Clean up ZSQLCatalog.py

parent c28cbd16
...@@ -17,11 +17,10 @@ from App.special_dtml import DTMLFile ...@@ -17,11 +17,10 @@ from App.special_dtml import DTMLFile
from App.Dialogs import MessageDialog from App.Dialogs import MessageDialog
from App.class_init import default__class_init__ as InitializeClass from App.class_init import default__class_init__ as InitializeClass
from OFS.Folder import Folder
from DateTime import DateTime from DateTime import DateTime
from Acquisition import Implicit, aq_base from Acquisition import Implicit, aq_base
from Persistence import Persistent from Persistence import Persistent
from OFS.Folder import Folder as OFSFolder
from Products.ERP5Type.Core.Folder import Folder
from DocumentTemplate.DT_Util import InstanceDict, TemplateDict from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
from DocumentTemplate.DT_Util import Eval from DocumentTemplate.DT_Util import Eval
from AccessControl.Permission import name_trans from AccessControl.Permission import name_trans
...@@ -64,7 +63,7 @@ def manage_addZSQLCatalog(self, id, title, ...@@ -64,7 +63,7 @@ def manage_addZSQLCatalog(self, id, title,
return self.manage_main(self, REQUEST,update_menu=1) return self.manage_main(self, REQUEST,update_menu=1)
class ZCatalog(OFSFolder, Persistent, Implicit): class ZCatalog(Folder, Persistent, Implicit):
"""ZCatalog object """ZCatalog object
A ZCatalog contains arbirary index like references to Zope A ZCatalog contains arbirary index like references to Zope
...@@ -132,7 +131,7 @@ class ZCatalog(OFSFolder, Persistent, Implicit): ...@@ -132,7 +131,7 @@ class ZCatalog(OFSFolder, Persistent, Implicit):
('Search ZCatalog', ('Search ZCatalog',
['searchResults', '__call__', 'uniqueValuesFor', ['searchResults', '__call__', 'uniqueValuesFor',
'schema', 'names', 'indexes', 'getpath', 'schema', 'names', 'indexes',
'all_meta_types', 'valid_roles', 'resolve_url', 'all_meta_types', 'valid_roles', 'resolve_url',
'getobject', 'getObject', 'getObjectList', 'getCatalogSearchTableIds', 'getobject', 'getObject', 'getObjectList', 'getCatalogSearchTableIds',
'getCatalogSearchResultKeys', 'getFilterableMethodList', ], 'getCatalogSearchResultKeys', 'getFilterableMethodList', ],
......
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