Fix dblink._eerror argument where list is required instead of string.
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:12:42 +0000 (20:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:12:42 +0000 (20:12 -0000)
(trunk r15341)

svn path=/main/branches/2.1.7/; revision=15568

pym/portage/dbapi/vartree.py

index 09e5eb355284c61d432c7b122661f9749c53c076..96096ec5b0e5267c20c877682f9dab0d05769ec9 100644 (file)
@@ -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