summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index dc807ec17..cf50cc8b3 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1645,8 +1645,9 @@ class depgraph:
mynewslot = self.trees["/"]["porttree"].getslot(x[2])
myoldlist = self.trees[x[1]]["vartree"].dbapi.match(
portage.pkgsplit(x[2])[0])
- myinslotlist = [p for p in myoldlist if mynewslot == \
- self.trees[self.settings["ROOT"]]["vartree"].getslot(p)]
+ myinslotlist = [inst_pkg for inst_pkg in myoldlist
+ if mynewslot == self.trees[
+ self.settings["ROOT"]]["vartree"].getslot(inst_pkg)]
if myinslotlist:
myoldbest=portage.best(myinslotlist)
addl=" "+fetch