summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-11 19:01:01 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-11 19:01:01 +0000
commite7b1180e0e529289978a3cecd0e7eb27b7336764 (patch)
treebb292604cd0e23bbed027618acb29200b326e144
parentb5fd1970cd00249c14256f08b2ad0d17d569674a (diff)
downloadportage-e7b1180e0e529289978a3cecd0e7eb27b7336764.tar.gz
portage-e7b1180e0e529289978a3cecd0e7eb27b7336764.tar.bz2
portage-e7b1180e0e529289978a3cecd0e7eb27b7336764.zip
Make previous commit use eerror for logging.
svn path=/main/trunk/; revision=15339
-rw-r--r--pym/portage/dbapi/vartree.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index a5d26c8ea..e448b77ff 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2463,9 +2463,8 @@ class dblink(object):
# in a totally undefined state, hence we just bleed
# like hell and continue to hopefully finish all our
# administrative and pkg_postinst stuff.
- showMessage(colorize("WARN", _("WARNING:"))
- + " Could not chmod or unlink %s: %s\n" % (file_name, ose),
- level=logging.WARN, noiselevel=-1)
+ self._eerror("postrm",
+ "Could not chmod or unlink '%s': %s\n" % (file_name, ose))
finally:
if bsd_chflags and pflags != 0:
# Restore the parent flags we saved before unlinking