Commit 2f8524fc authored by Romain Courteaud's avatar Romain Courteaud

Remove some Log


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2187 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4ddc126
......@@ -255,7 +255,6 @@ class Category(Folder):
recursive -- if set to 0 do not apply recursively
"""
LOG('getCategoryChildItemList', 0, 'kw = %s, recursive = %s' % (str(kw), str(recursive)))
value_list = self.getCategoryChildValueList(recursive=recursive)
return Renderer(base=base, **kw).render(value_list)
......@@ -379,7 +378,6 @@ class Category(Folder):
"""
Returns a list of objects or brains
"""
#LOG('Category#getCategoryMemberItemList', 0, repr(kw))
return self.portal_categories.getCategoryMemberItemList(self, **kw)
security.declareProtected( Permissions.AccessContentsInformation,
......
......@@ -251,8 +251,6 @@ class IntegerWidget(TextWidget) :
def render(self, field, key, value, REQUEST) :
"""Render link.
"""
LOG('IntegerWidget.render, value',0,repr(value))
LOG('IntegerWidget.render, type(value)',0,type(value))
if type(value) is type(1.0):
value = int(value)
display_maxwidth = field.get_value('display_maxwidth') or 0
......@@ -392,9 +390,6 @@ def FloatValidator_validate(self, field, key, REQUEST):
return value
try:
LOG('FloatValidator.validate, field:', 0, field)
LOG('FloatValidator.validate, field.id:', 0, field.id)
LOG('FloatValidator.validate, value:', 0, value)
if value.find(',') >= 0:
value = value.replace(',','.')
value = float(value)
......
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