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