Make previous commit use eerror for logging. (trunk r15339)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:12:33 +0000 (20:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:12:33 +0000 (20:12 -0000)
svn path=/main/branches/2.1.7/; revision=15567

pym/portage/dbapi/vartree.py

index cd16a4bca19f062ebef3f0556dbe9d62b6934ee4..09e5eb355284c61d432c7b122661f9749c53c076 100644 (file)
@@ -1701,9 +1701,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