<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __store_deactivated_components(self):
 """ Stores deactivated Components in settings file. """


        deactivated_components = []
        for node in foundations.walkers.nodes_walker(self.__model.root_node):
            if node.family == "Component":
                node.component.interface.activated or deactivated_components.append(node.component.name)

        LOGGER.debug("> Storing '{0}' deactivated Components.".format(", ".join(deactivated_components)))
        self.__settings.set_key("Settings", "deactivated_components", ",".join(deactivated_components))