projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab814bb
)
IndexError: tuple index out of range
author
Fabian Groffen
<grobian@gentoo.org>
Thu, 19 Jun 2008 19:28:30 +0000
(19:28 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 19 Jun 2008 19:28:30 +0000
(19:28 -0000)
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
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 1bba4309a6dfb671252e87d216244f63820b0b58..70348ded68e9a05d19871cbd79703f836b23b298 100644
(file)
--- 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):