_pre_unmerge_backup: show failure message v2.2.0_alpha115
authorZac Medico <zmedico@gentoo.org>
Mon, 2 Jul 2012 21:41:19 +0000 (14:41 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 2 Jul 2012 21:41:19 +0000 (14:41 -0700)
pym/portage/dbapi/vartree.py

index dd37be005993e17f900d93136c3dedbc412df895..d619754717ba5375bc5e9f51cd08f5132a2006da 100644 (file)
@@ -1852,6 +1852,8 @@ class dblink(object):
                        if not caller_handles_backup:
                                retval = self._pre_unmerge_backup(background)
                                if retval != os.EX_OK:
+                                       showMessage(_("!!! FAILED prerm: quickpkg: %s\n") % retval,
+                                               level=logging.ERROR, noiselevel=-1)
                                        return retval
 
                        # Log the error after PORTAGE_LOG_FILE is initialized