Make previous commit use eerror for logging.
authorZac Medico <zmedico@gentoo.org>
Thu, 11 Feb 2010 19:01:01 +0000 (19:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 11 Feb 2010 19:01:01 +0000 (19:01 -0000)
svn path=/main/trunk/; revision=15339

pym/portage/dbapi/vartree.py

index a5d26c8ea469191c6be04a14d704f423d9c87e71..e448b77ff713a6463fa948e28a854d321c705561 100644 (file)
@@ -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