From 50aba8dbfbd7dd61201e71d4863e16f09ffada58 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Oct 2007 17:48:01 +0000 Subject: [PATCH] In the file collision eerror output, don't colorize the 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 29a3075ba..380f2e3ef 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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()) -- 2.26.2