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, ...@@ -934,7 +934,8 @@ class Catalog(Folder,
return tuple(result_list) return tuple(result_list)
@caching_instance_method(id='SQLCatalog.getColumnIds', @caching_instance_method(id='SQLCatalog.getColumnIds',
cache_factory='erp5_content_long') cache_factory='erp5_content_long',
)
def _getColumnIds(self): def _getColumnIds(self):
keys = set() keys = set()
add_key = keys.add add_key = keys.add
...@@ -961,7 +962,9 @@ class Catalog(Folder, ...@@ -961,7 +962,9 @@ class Catalog(Folder,
@profiler_decorator @profiler_decorator
@transactional_cache_decorator('SQLCatalog.getColumnMap') @transactional_cache_decorator('SQLCatalog.getColumnMap')
@profiler_decorator @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 @profiler_decorator
def getColumnMap(self): def getColumnMap(self):
""" """
...@@ -1816,7 +1819,8 @@ class Catalog(Folder, ...@@ -1816,7 +1819,8 @@ class Catalog(Folder,
return self.sql_catalog_scriptable_keys return self.sql_catalog_scriptable_keys
@caching_instance_method(id='SQLCatalog.getTableIndex', @caching_instance_method(id='SQLCatalog.getTableIndex',
cache_factory='erp5_content_long') cache_factory='erp5_content_long',
)
def _getTableIndex(self, table): def _getTableIndex(self, table):
table_index = {} table_index = {}
method = getattr(self, self.sql_catalog_index, '') method = getattr(self, self.sql_catalog_index, '')
...@@ -2256,7 +2260,9 @@ class Catalog(Folder, ...@@ -2256,7 +2260,9 @@ class Catalog(Folder,
@profiler_decorator @profiler_decorator
@transactional_cache_decorator('SQLCatalog._getSearchKeyDict') @transactional_cache_decorator('SQLCatalog._getSearchKeyDict')
@profiler_decorator @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 @profiler_decorator
def _getSearchKeyDict(self): def _getSearchKeyDict(self):
result = {} 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