From ba67aab71bcbdd75e483a345e5e10f994a7d7ad2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 20:12:42 +0000 Subject: [PATCH] Fix dblink._eerror argument where list is required instead of string. (trunk r15341) svn path=/main/branches/2.1.7/; revision=15568 --- pym/portage/dbapi/vartree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 09e5eb355..96096ec5b 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1702,7 +1702,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 -- 2.26.2