summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-17 02:26:18 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-17 02:26:18 +0000
commit688327f0627a41c24a58cf2486b5d53c95952ecc (patch)
tree30e212b3ff38fbe08ccf12f29c881df8d7a3a72b
parent4ea0fbe4d802ea687ca72c29ff13fca67fbec192 (diff)
downloadportage-688327f0627a41c24a58cf2486b5d53c95952ecc.tar.gz
portage-688327f0627a41c24a58cf2486b5d53c95952ecc.tar.bz2
portage-688327f0627a41c24a58cf2486b5d53c95952ecc.zip
Add --verbose to the list of options that need to be removed from those
pulled from the mtimedb when using --resume. Patch by Alec Warner (antarus). Code-style cleanups. #74990 svn path=/main/trunk/; revision=2385
-rwxr-xr-xbin/emerge7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge
index f0ea1bafe..b4474bb0d 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3128,10 +3128,9 @@ else:
if ("--resume" in myopts) and portage.mtimedb.has_key("resume"):
myresumeopts=portage.mtimedb["resume"]["myopts"][:]
- while "--skipfirst" in myresumeopts:
- myresumeopts.remove("--skipfirst")
- while "--ask" in myresumeopts:
- myresumeopts.remove("--ask")
+ for opt in ("--skipfirst", "--ask", "--verbose"):
+ while opt in myresumeopts:
+ myresumeopts.remove(opt)
for myopt in myopts:
if myopt not in myresumeopts: