Commit e0970a70 authored by Vincent Pelletier's avatar Vincent Pelletier

Reindent & word-wrap for future extension.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39138 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 44a14269
......@@ -934,7 +934,8 @@ class Catalog(Folder,
return tuple(result_list)
@caching_instance_method(id='SQLCatalog.getColumnIds',
cache_factory='erp5_content_long')
cache_factory='erp5_content_long',
)
def _getColumnIds(self):
keys = set()
add_key = keys.add
......@@ -961,7 +962,9 @@ class Catalog(Folder,
@profiler_decorator
@transactional_cache_decorator('SQLCatalog.getColumnMap')
@profiler_decorator
@caching_instance_method(id='SQLCatalog.getColumnMap', cache_factory='erp5_content_long')
@caching_instance_method(id='SQLCatalog.getColumnMap',
cache_factory='erp5_content_long',
)
@profiler_decorator
def getColumnMap(self):
"""
......@@ -1816,7 +1819,8 @@ class Catalog(Folder,
return self.sql_catalog_scriptable_keys
@caching_instance_method(id='SQLCatalog.getTableIndex',
cache_factory='erp5_content_long')
cache_factory='erp5_content_long',
)
def _getTableIndex(self, table):
table_index = {}
method = getattr(self, self.sql_catalog_index, '')
......@@ -2256,7 +2260,9 @@ class Catalog(Folder,
@profiler_decorator
@transactional_cache_decorator('SQLCatalog._getSearchKeyDict')
@profiler_decorator
@caching_instance_method(id='SQLCatalog._getSearchKeyDict', cache_factory='erp5_content_long')
@caching_instance_method(id='SQLCatalog._getSearchKeyDict',
cache_factory='erp5_content_long',
)
@profiler_decorator
def _getSearchKeyDict(self):
result = {}
......
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