Commit c43b8f63 authored by Jérome Perrin's avatar Jérome Perrin

bug.

There was no reason to use elif in SQLDict.countMessage


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14219 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd7ae4fd
...@@ -589,7 +589,7 @@ class SQLDict(RAMDict): ...@@ -589,7 +589,7 @@ class SQLDict(RAMDict):
tag = [tag] tag = [tag]
if isinstance(path, str): if isinstance(path, str):
path = [path] path = [path]
elif isinstance(method_id, str): if isinstance(method_id, str):
method_id = [method_id] method_id = [method_id]
result = activity_tool.SQLDict_validateMessageList(method_id=method_id, result = activity_tool.SQLDict_validateMessageList(method_id=method_id,
path=path, path=path,
......
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