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

fixup! SimulationTool: py3

parent 3028a9a5
...@@ -1627,7 +1627,7 @@ class SimulationTool(BaseTool): ...@@ -1627,7 +1627,7 @@ class SimulationTool(BaseTool):
try: try:
result = cmp(line_a[key], line_b[key]) result = cmp(line_a[key], line_b[key])
except KeyError: except KeyError:
raise Exception('Impossible to sort result since columns sort ' raise ValueError('Impossible to sort result since columns sort '
'happens on are not available in result: %r' % (key, )) 'happens on are not available in result: %r' % (key, ))
if result: if result:
if not sort_direction.upper().startswith('A'): if not sort_direction.upper().startswith('A'):
......
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