summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-11 20:54:16 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-11 20:54:16 +0000
commit786dffcfa58d90e0c763ce6fdc6042e98216a308 (patch)
treef1149e554eca168ad44322ff210b2b3eca741e63
parente7b1180e0e529289978a3cecd0e7eb27b7336764 (diff)
downloadportage-786dffcfa58d90e0c763ce6fdc6042e98216a308.tar.gz
portage-786dffcfa58d90e0c763ce6fdc6042e98216a308.tar.bz2
portage-786dffcfa58d90e0c763ce6fdc6042e98216a308.zip
Fix dblink._eerror argument where list is required instead of string.
svn path=/main/trunk/; revision=15341
-rw-r--r--pym/portage/dbapi/vartree.py3
1 files changed, 2 insertions, 1 deletions
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