From 7d39e0bffaf3c1adfcb4570e02a6e8799f778a84 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 19 Jun 2008 19:28:30 +0000 Subject: [PATCH] IndexError: tuple index out of range I got confused with on-disk format, and the array that is used here. svn path=/main/branches/prefix/; revision=10727 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 1bba4309a..70348ded6 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -306,7 +306,7 @@ class LinkageMapMachO(object): obj = os.path.realpath(obj) if obj not in self._obj_properties: raise KeyError("%s not in object list" % obj) - install_name = self._obj_properties[obj][2] + install_name = self._obj_properties[obj][1] return (len(basename) < len(os.path.basename(install_name))) def listLibraryObjects(self): -- 2.26.2