Fix typo.
authorZac Medico <zmedico@gentoo.org>
Sun, 2 Mar 2008 19:20:45 +0000 (19:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 2 Mar 2008 19:20:45 +0000 (19:20 -0000)
svn path=/main/trunk/; revision=9411

pym/portage/__init__.py

index 89840231ef0746d1b6354a4f552ab6c19be0f9af..a11c6e5f53ec385c5c5c753a19f0698d36f904cf 100644 (file)
@@ -1907,7 +1907,7 @@ class config(object):
                        if cpdict:
                                keys = cpdict.keys()
                                while keys:
-                                       best_match = best_match_to_list(cpv_slot, cpdict.keys())
+                                       best_match = best_match_to_list(cpv_slot, keys)
                                        if best_match:
                                                keys.remove(best_match)
                                                usemask.append(cpdict[best_match])