Commit 6389f185 authored by Jérome Perrin's avatar Jérome Perrin

SelectionTool: fix getSelectionDomainDictFor and getSelectionReportDictFor

parent 9ea5cc2c
......@@ -328,7 +328,7 @@ class SelectionTool( BaseTool, SimpleItem ):
selection = self.getSelectionFor(selection_name, REQUEST=REQUEST)
if selection is not None:
try:
return selection.getDomain().asDomainDict
return selection.getDomain().asDomainDict()
except AttributeError:
return {}
......@@ -340,7 +340,7 @@ class SelectionTool( BaseTool, SimpleItem ):
selection = self.getSelectionFor(selection_name, REQUEST=REQUEST)
if selection is not None:
try:
return selection.getReport().asDomainDict
return selection.getReport().asDomainDict()
except AttributeError:
return {}
......
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