From: Zac Medico <zmedico@gentoo.org>
Date: Thu, 11 Feb 2010 20:54:16 +0000 (-0000)
Subject: Fix dblink._eerror argument where list is required instead of string.
X-Git-Tag: v2.2_rc63~61
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=786dffcfa58d90e0c763ce6fdc6042e98216a308;p=portage.git

Fix dblink._eerror argument where list is required instead of string.

svn path=/main/trunk/; revision=15341
---

diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index e448b77ff..dc518a2f5 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2464,7 +2464,8 @@ class dblink(object):
 					# like hell and continue to hopefully finish all our
 					# administrative and pkg_postinst stuff.
 					self._eerror("postrm", 
-						"Could not chmod or unlink '%s': %s\n" % (file_name, ose))
+						["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