https://bugs.kde.org/show_bug.cgi?id=403098
--- Comment #9 from Salvo "LtWorf" Tomaselli <tipos...@tiscali.it> --- So I narrowed it down to this function. I guess it's small and useless enough that I can publish it. Also, I didn't write it, I'd never use set() on a list comprehension :D def is_environment_complete(environment: Environment, scenario: Scenario) -> bool: current_nodes = environment.nodes current_node_names = set([n.name for n in current_nodes]) current_node_roles: Set[str] = set(sum([n.roles for n in current_nodes], [])) expected_nodes = scenario.nodes expected_node_names = set([n.name for n in expected_nodes]) expected_node_roles: Set[str] = set(sum([n.roles for n in expected_nodes], [])) return current_node_names == expected_node_names and current_node_roles == expected_node_roles -- You are receiving this mail because: You are watching all bug changes.