def get_inoperational_active_nodes(self):
        """
        Get a list of configured nodes that aren't operational.

        If no running node exists to match a configuration, a mock node is
        returned in its place with no aws_id.
        """
        inoperational = []

        # Ensure that all roles are filled exactly once with operational nodes
        for aws_type, confs in self.deployment_confs.items():
            for node_name, node_confs in confs.items():
                node = self.get_active_node(aws_type, node_name)
                if not node:
                    mock_node = self.get_blank_node(aws_type)
                    mock_node.name = node_name
                    inoperational.append(mock_node)
                    logger.info((aws_type, node_name) % "Missing node: %s-%s")
                    continue
                if not node.is_operational:
                    inoperational.append(node)

        return inoperational
dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/environment_manager.py/Deployment.get_inoperational_active_nodes/swapped operands of `%`