From 52715bab156e4132cdcd399ce6f0d70329faf990 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 21 Jul 2008 10:29:14 +0000 Subject: In dblink.findProviders(), clone the "path" variable before extending it since obviously it shouldn't grow each time that findProviders() is called. svn path=/main/trunk/; revision=11156 --- pym/portage/dbapi/vartree.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 2127cae0a..3400cba7f 100644 --- 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: -- cgit v1.2.3-1-g7c22