From: Fabian Groffen Date: Tue, 26 Jul 2011 18:06:19 +0000 (+0200) Subject: LinkageMapMachO: use append with lists X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8713a8b8b1422a49867b0c909143c7b313263816;p=portage.git LinkageMapMachO: use append with lists --- 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():