From e0e6ed26532ea0c277849df3dcb3767a67ec6a2a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 May 2007 05:45:06 +0000 Subject: [PATCH] Return a copy of the cached result from match_from_list(). svn path=/main/trunk/; revision=6673 --- pym/portage/dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 1864f1983..5b39778f9 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -733,4 +733,4 @@ def match_from_list(mydep, candidate_list): mylist.append(x) _match_from_list_cache[cache_key] = mylist - return mylist + return mylist[:] -- 2.26.2