Commit 1c29f6fa authored by Jérome Perrin's avatar Jérome Perrin

fixup! py2/py3: modernize -f dict_six.

parent 783a820c
...@@ -6,6 +6,8 @@ simulations_found = context.Base_getSimulationTree(start_path=start_path) ...@@ -6,6 +6,8 @@ simulations_found = context.Base_getSimulationTree(start_path=start_path)
if len(simulations_found) == 0: if len(simulations_found) == 0:
print('No simulations related') print('No simulations related')
else: else:
for simulation_root in simulations_found:
print(simulation_root)
for simulation in simulations_found[simulation_root]: for simulation in simulations_found[simulation_root]:
print('\t',simulation.getPath(),simulation.getPortalType(), end=' ') print('\t',simulation.getPath(),simulation.getPortalType(), end=' ')
if simulation.getPortalType() == 'Simulation Movement': if simulation.getPortalType() == 'Simulation Movement':
......
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