unmerge: use frozenset for syslist
authorZac Medico <zmedico@gentoo.org>
Wed, 11 May 2011 20:24:22 +0000 (13:24 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 12 May 2011 05:22:41 +0000 (22:22 -0700)
pym/_emerge/unmerge.py

index 6c0ef8dbc98f50e62defe2ad51ddd3b5e840833b..8fff516c163ce9a21c64ac75f2db3b18c7a4b767 100644 (file)
@@ -83,6 +83,7 @@ def unmerge(root_config, myopts, unmerge_action,
                                        syslist.extend(providers)
                        else:
                                syslist.append(mycp)
+               syslist = frozenset(syslist)
        
                mysettings = portage.config(clone=settings)