From: Alec Warner Date: Tue, 31 Jan 2006 23:28:57 +0000 (-0000) Subject: Fix for bug #121106, resume + skipfirst + pretend would print the skipped package. X-Git-Tag: v2.1_pre5_2760~118 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc980664930c6081d3206a7e4f6490c429dedff3;p=portage.git Fix for bug #121106, resume + skipfirst + pretend would print the skipped package. Thanks to Andrew D. Keyser (aka Legoguy) for reporting. svn path=/main/trunk/; revision=2611 --- diff --git a/bin/emerge b/bin/emerge index 40691a3b3..a01188372 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3319,7 +3319,8 @@ else: if ("--pretend" in myopts) and not ("--fetchonly" in myopts or "--fetch-all-uri" in myopts): if ("--resume" in myopts): - mydepgraph.display(portage.mtimedb["resume"]["mergelist"]) + ### Cut off the first element, since we aren't merging it #121106 + mydepgraph.display(portage.mtimedb["resume"]["mergelist"][1:]) else: mydepgraph.display(mydepgraph.altlist()) else: