From: Zac Medico Date: Mon, 31 Jul 2006 18:26:14 +0000 (-0000) Subject: Don't write to emerge.log when --pretend is enabled for bug #139449. This patch... X-Git-Tag: v2.1-r2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29107b92d97a9447719b0bb67b30dce535318f56;p=portage.git Don't write to emerge.log when --pretend is enabled for bug #139449. This patch is from trunk r4068. svn path=/main/branches/2.1/; revision=4069 --- diff --git a/bin/emerge b/bin/emerge index 1f86800d1..3f7d6b944 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2162,7 +2162,8 @@ class depgraph: # due to power failure, SIGKILL, etc... portage.commit_mtimedb() - emergelog(" *** Finished. Cleaning up...") + if "--pretend" not in myopts: + emergelog(" *** Finished. Cleaning up...") # We're out of the loop... We're done. Delete the resume data. if portage.mtimedb.has_key("resume"):