From: Zac Medico Date: Mon, 31 Jul 2006 18:25:35 +0000 (-0000) Subject: Don't write to emerge.log when --pretend is enabled for bug #139449. X-Git-Tag: v2.1.1~117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a44140ca77aa238e6c752333546c82b623e1c517;p=portage.git Don't write to emerge.log when --pretend is enabled for bug #139449. svn path=/main/trunk/; revision=4068 --- diff --git a/bin/emerge b/bin/emerge index 47559da90..8b6d85fb1 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2094,7 +2094,8 @@ class MergeTask(object): # due to power failure, SIGKILL, etc... mtimedb.commit() - emergelog(xterm_titles, " *** Finished. Cleaning up...") + if "--pretend" not in self.myopts: + emergelog(xterm_titles, " *** Finished. Cleaning up...") # We're out of the loop... We're done. Delete the resume data. if mtimedb.has_key("resume"):