Commit 7ad60118 authored by Vincent Pelletier's avatar Vincent Pelletier

ERP5.Tool.DomainTool: Trivial coding style fixes.

parent 8f9683ae
...@@ -140,20 +140,19 @@ class DomainTool(BaseTool): ...@@ -140,20 +140,19 @@ class DomainTool(BaseTool):
Query(**{equality: value}), Query(**{equality: value}),
ComplexQuery( ComplexQuery(
ComplexQuery( ComplexQuery(
Query(**{range_min: dict(query=value, range='ngt',)}), Query(**{range_min: {'query': value, 'range': 'ngt'}}),
Query(**{range_max: None}), Query(**{range_max: None}),
logical_operator='AND',), logical_operator='AND'),
ComplexQuery( ComplexQuery(
Query(**{range_min: None}), Query(**{range_min: None}),
Query(**{range_max: dict(query=value, range='min',)}), Query(**{range_max: {'query': value, 'range': 'min'}}),
logical_operator='AND',), logical_operator='AND'),
ComplexQuery( ComplexQuery(
Query(**{range_min: dict(query=value, range='ngt',)}), Query(**{range_min: {'query': value, 'range': 'ngt'}}),
Query(**{range_max: dict(query=value, range='min',)}), Query(**{range_max: {'query': value, 'range': 'min'}}),
logical_operator='AND',), logical_operator='AND'),
logical_operator='OR',), logical_operator='OR'),
logical_operator='OR', logical_operator='OR'),
),
logical_operator='OR') logical_operator='OR')
query_list.append(query) query_list.append(query)
......
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