diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-22 12:24:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-22 12:24:53 +0000 |
commit | 84f8d38abb051a53778eaad5fde43658cbc54aca (patch) | |
tree | 34f05028ac862e4ab9843495b405f8b58a5f804a /pym/portage/dbapi | |
parent | e0a1d8472b64543d2540ca5f9900bdaefbc41fff (diff) | |
download | portage-84f8d38abb051a53778eaad5fde43658cbc54aca.tar.gz portage-84f8d38abb051a53778eaad5fde43658cbc54aca.tar.bz2 portage-84f8d38abb051a53778eaad5fde43658cbc54aca.zip |
In dblink.unmerge(), redirect preserve-libs "!needed" messages to the log file
when in background mode.
svn path=/main/trunk/; revision=11167
Diffstat (limited to 'pym/portage/dbapi')
-rw-r--r-- | pym/portage/dbapi/vartree.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 208539818..837176331 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1540,6 +1540,7 @@ class dblink(object): The caller must ensure that lockdb() and unlockdb() are called before and after this method. """ + showMessage = self._display_merge if self.vartree.dbapi._categories is not None: self.vartree.dbapi._categories = None # When others_in_slot is supplied, the security check has already been @@ -1695,7 +1696,7 @@ class dblink(object): else: obj_type = "obj" os.unlink(obj) - writemsg_stdout("<<< !needed %s %s\n" % (obj_type, obj)) + showMessage("<<< !needed %s %s\n" % (obj_type, obj)) except OSError, e: if e.errno == errno.ENOENT: pass |