From: Zac Medico Date: Wed, 30 May 2007 05:45:58 +0000 (-0000) Subject: Return a copy of the cached result from match_from_list(). (trunk r6673) X-Git-Tag: v2.1.2.9~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8cefac9de5405b276662db01c0586c246fd69430;p=portage.git Return a copy of the cached result from match_from_list(). (trunk r6673) svn path=/main/branches/2.1.2/; revision=6674 --- 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[:]