In the file collision eerror output, don't colorize the
authorZac Medico <zmedico@gentoo.org>
Sat, 13 Oct 2007 17:48:01 +0000 (17:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 13 Oct 2007 17:48:01 +0000 (17:48 -0000)
file paths since the escape codes look ugly in the log.
(trunk r8113:8115)

svn path=/main/branches/2.1.2/; revision=8116

pym/portage.py

index 29a3075ba0f9fd386b27f68d255fec7f80e44628..380f2e3ef3fead13c653343c6da99be57102f373 100644 (file)
@@ -8057,10 +8057,9 @@ class dblink:
                        cmd += "eerror \"Detected file collision(s):\" ; "
                        cmd += "eerror ; "
 
-                       from output import colorize
                        for f in collisions:
-                               cmd += "eerror \"     '%s'\" ; " % colorize("INFORM",
-                                       os.path.join(destroot, f.lstrip(os.path.sep)))
+                               cmd += "eerror \"     '%s'\" ; " % \
+                                       os.path.join(destroot, f.lstrip(os.path.sep))
 
                        portage_exec.spawn(["bash", "-c", cmd],
                                env=self.settings.environ())