From 8713a8b8b1422a49867b0c909143c7b313263816 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 26 Jul 2011 20:06:19 +0200 Subject: [PATCH] LinkageMapMachO: use append with lists --- pym/portage/util/_dyn_libs/LinkageMapMachO.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/util/_dyn_libs/LinkageMapMachO.py b/pym/portage/util/_dyn_libs/LinkageMapMachO.py index 0e7c33357..b34359ce5 100644 --- a/pym/portage/util/_dyn_libs/LinkageMapMachO.py +++ b/pym/portage/util/_dyn_libs/LinkageMapMachO.py @@ -323,14 +323,14 @@ class LinkageMapMachO(object): installname_map = self._installname_map_class( providers=[], consumers=[]) arch_map[install_name] = installname_map - installname_map.providers.add(obj_key) + installname_map.providers.append(obj_key) for needed_installname in needed: installname_map = arch_map.get(needed_installname) if installname_map is None: installname_map = self._installname_map_class( providers=[], consumers=[]) arch_map[needed_installname] = installname_map - installname_map.consumers.add(obj_key) + installname_map.consumers.append(obj_key) for arch, install_names in libs.items(): for install_name_node in install_names.values(): -- 2.26.2