projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b0ba8
)
In dblink.findProviders(), clone the "path" variable before extending it
author
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Jul 2008 10:29:14 +0000
(10:29 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Jul 2008 10:29:14 +0000
(10:29 -0000)
since obviously it shouldn't grow each time that findProviders() is called.
svn path=/main/trunk/; revision=11156
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 2127cae0a7f3b1b567642e06668b49aa1fbb0658..3400cba7fe53d28c38d72dab04070395f43d1c6d 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-224,6
+224,7
@@
class LinkageMap(object):
if obj not in self._obj_properties:
raise KeyError("%s not in object list" % obj)
arch, needed, path, soname = self._obj_properties[obj]
+ path = path[:]
path.extend(self._defpath)
path = set(realpath(x) for x in path)
for x in needed: