Commit f1c6a10d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Disable some LOG calls.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1497 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91033a59
...@@ -238,7 +238,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -238,7 +238,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
""" """
Get a dictionary of parameters in this selection. Get a dictionary of parameters in this selection.
""" """
LOG('getParams',0,'params: %s' % str(self.params)) #LOG('getParams',0,'params: %s' % str(self.params))
if self.params is None: if self.params is None:
self.params = {} self.params = {}
if type(self.params) != type({}): if type(self.params) != type({}):
...@@ -248,7 +248,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -248,7 +248,7 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
security.declarePublic('getListUrl') security.declarePublic('getListUrl')
def getListUrl(self): def getListUrl(self):
result = '' result = ''
LOG('getListUrl', 0, 'list_url = %s' % str(self.list_url)) #LOG('getListUrl', 0, 'list_url = %s' % str(self.list_url))
if self.list_url is None: if self.list_url is None:
self.list_url = '' self.list_url = ''
else: else:
...@@ -338,7 +338,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent): ...@@ -338,7 +338,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent):
join_expression.append('catalog.uid = %s_category.uid' % k) join_expression.append('catalog.uid = %s_category.uid' % k)
join_expression.append(d.asSqlExpression(table = '%s_category' % k, strict_membership=strict_membership)) join_expression.append(d.asSqlExpression(table = '%s_category' % k, strict_membership=strict_membership))
result = "( %s )" % ' AND '.join(join_expression) result = "( %s )" % ' AND '.join(join_expression)
LOG('asSqlExpression', 0, str(result)) #LOG('asSqlExpression', 0, str(result))
return result return result
security.declarePublic('asSqlJoinExpression') security.declarePublic('asSqlJoinExpression')
...@@ -349,7 +349,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent): ...@@ -349,7 +349,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent):
# This is a category, we must join # This is a category, we must join
join_expression.append('category AS %s_category' % k) join_expression.append('category AS %s_category' % k)
result = "%s" % ' , '.join(join_expression) result = "%s" % ' , '.join(join_expression)
LOG('asSqlJoinExpression', 0, str(result)) #LOG('asSqlJoinExpression', 0, str(result))
return result return result
security.declarePublic('asDomainDict') security.declarePublic('asDomainDict')
......
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