LinkageMapMachO: use append with lists
authorFabian Groffen <grobian@gentoo.org>
Tue, 26 Jul 2011 18:06:19 +0000 (20:06 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 26 Jul 2011 18:06:19 +0000 (20:06 +0200)
pym/portage/util/_dyn_libs/LinkageMapMachO.py

index 0e7c33357e6887159b7fff526d9b5f574eb02e04..b34359ce5fc2d7603fa42809a81d9851b1ef7a01 100644 (file)
@@ -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():