Commit c2faae62 authored by Romain Courteaud's avatar Romain Courteaud

Remove some LOG.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4277 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02c24b29
...@@ -450,11 +450,11 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -450,11 +450,11 @@ class CategoryTool( UniqueObject, Folder, Base ):
# for c in relative_url: # for c in relative_url:
# result += [(c, c)] # result += [(c, c)]
#else: #else:
LOG('CMFCategoryTool.asItemList, relative_url',0,relative_url) # LOG('CMFCategoryTool.asItemList, relative_url',0,relative_url)
value_list = [] value_list = []
for c in relative_url: for c in relative_url:
o = self.getCategoryValue(c, base_category=base_category) o = self.getCategoryValue(c, base_category=base_category)
LOG('CMFCategoryTool.asItemList, (o,c)',0,(o,c)) # LOG('CMFCategoryTool.asItemList, (o,c)',0,(o,c))
if o is not None: if o is not None:
value_list.append(o) value_list.append(o)
else: else:
...@@ -463,7 +463,7 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -463,7 +463,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
#if sort_id is not None: #if sort_id is not None:
# result.sort() # result.sort()
LOG('CMFCategoryTool.asItemList, value_list',0,value_list) # LOG('CMFCategoryTool.asItemList, value_list',0,value_list)
return Renderer(base_category=base_category,**kw).render(value_list) return Renderer(base_category=base_category,**kw).render(value_list)
security.declareProtected(Permissions.View, 'getItemList') security.declareProtected(Permissions.View, 'getItemList')
......
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