protected_symlinks: change eerror to elog
authorZac Medico <zmedico@gentoo.org>
Sun, 24 Jun 2012 19:16:34 +0000 (12:16 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 24 Jun 2012 19:16:34 +0000 (12:16 -0700)
Since bug #421165, this code will trigger more often (see bug #423127),
and eerror is too harsh because the symlinks will never be orphaned.

pym/portage/dbapi/vartree.py

index 020240d613b6f48dcde36af4e141ce611a346b12..786687079efaa070b0a7085bcc8371c7d49b8a73 100644 (file)
@@ -2380,7 +2380,7 @@ class dblink(object):
                                lines.append("\t%s" % (os.path.join(real_root,
                                        f.lstrip(os.sep))))
                        lines.append("")
-                       self._elog("eerror", "postrm", lines)
+                       self._elog("elog", "postrm", lines)
 
                # Remove stale entries from config memory.
                if stale_confmem: