diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-13 17:48:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-13 17:48:01 +0000 |
commit | 50aba8dbfbd7dd61201e71d4863e16f09ffada58 (patch) | |
tree | 1cb4370029aa4701140fd8af3be2d39d59d940e6 /pym/portage.py | |
parent | 02188572dd2c5aba834d36502a174fbc3ed09744 (diff) | |
download | portage-50aba8dbfbd7dd61201e71d4863e16f09ffada58.tar.gz portage-50aba8dbfbd7dd61201e71d4863e16f09ffada58.tar.bz2 portage-50aba8dbfbd7dd61201e71d4863e16f09ffada58.zip |
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
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 5 |
1 files 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()) |