Return a copy of the cached result from match_from_list().
authorZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 05:45:06 +0000 (05:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 05:45:06 +0000 (05:45 -0000)
svn path=/main/trunk/; revision=6673

pym/portage/dep.py

index 1864f1983aa1fcbe8f56d57802a50fde70c04762..5b39778f91cc4f22cf2a19b54dc9db893540719d 100644 (file)
@@ -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[:]