summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-17 08:38:55 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-17 08:38:55 +0000
commitb30da3bb2d12197b7bdd06ec7066aa1a1064a85c (patch)
treeee9c35e95684d4947faf04b6c843a3700c2dfa96
parenta01a40e8dca76b83009fc9479a7021314b8b06ab (diff)
downloadportage-b30da3bb2d12197b7bdd06ec7066aa1a1064a85c.tar.gz
portage-b30da3bb2d12197b7bdd06ec7066aa1a1064a85c.tar.bz2
portage-b30da3bb2d12197b7bdd06ec7066aa1a1064a85c.zip
Fix unmerge() breakage from due to pkgmap being changed from
a dict to a list. svn path=/main/trunk/; revision=9349
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 6d4ddb3de..c2ef805f5 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -5126,7 +5126,7 @@ def unmerge(root_config, myopts, unmerge_action,
if not autoclean:
countdown(int(settings["CLEAN_DELAY"]), ">>> Unmerging")
- for x in pkgmap:
+ for x in xrange(len(pkgmap)):
for y in pkgmap[x]["selected"]:
print ">>> Unmerging "+y+"..."
emergelog(xterm_titles, "=== Unmerging... ("+y+")")