From 8cefac9de5405b276662db01c0586c246fd69430 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 May 2007 05:45:58 +0000 Subject: [PATCH] Return a copy of the cached result from match_from_list(). (trunk r6673) svn path=/main/branches/2.1.2/; revision=6674 --- 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 605dabff3..45ff2bcfe 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -647,4 +647,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