Always return a list of the same length as the query in vardbapi.aux_get()
authorJason Stubbs <jstubbs@gentoo.org>
Wed, 5 Oct 2005 12:05:45 +0000 (12:05 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Wed, 5 Oct 2005 12:05:45 +0000 (12:05 -0000)
svn path=/main/branches/2.0/; revision=2096

pym/portage.py

index 52d69279d04b167bcaecd9a3d05e242fe0c087c3..00ef400076e5072980635243a97e895e622c8c6a 100644 (file)
@@ -4844,8 +4844,6 @@ class vardbapi(dbapi):
        def aux_get(self, mycpv, wants):
                global auxdbkeys
                results = []
-               if not self.cpv_exists(mycpv):
-                       return []
                for x in wants:
                        myfn = self.root+VDB_PATH+"/"+str(mycpv)+"/"+str(x)
                        if os.access(myfn,os.R_OK):