Fix dblink._eerror argument where list is required instead of string.
authorZac Medico <zmedico@gentoo.org>
Thu, 11 Feb 2010 20:54:16 +0000 (20:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 11 Feb 2010 20:54:16 +0000 (20:54 -0000)
svn path=/main/trunk/; revision=15341

pym/portage/dbapi/vartree.py

index e448b77ff713a6463fa948e28a854d321c705561..dc518a2f5f691ea2b57d5f32959f67fc9abfd7f4 100644 (file)
@@ -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