Don't write to emerge.log when --pretend is enabled for bug #139449. This patch...
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 18:26:14 +0000 (18:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 18:26:14 +0000 (18:26 -0000)
svn path=/main/branches/2.1/; revision=4069

bin/emerge

index 1f86800d185308b5f56451756c01948e3ba737f9..3f7d6b94430324d1d77269f92339af008d4e838b 100755 (executable)
@@ -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"):