From: Jason Stubbs Date: Wed, 5 Oct 2005 12:05:45 +0000 (-0000) Subject: Always return a list of the same length as the query in vardbapi.aux_get() X-Git-Tag: v2.0.53_rc4_2111~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c68666f5adbcc363e87ca06c5bd6befe0ade8700;p=portage.git Always return a list of the same length as the query in vardbapi.aux_get() svn path=/main/branches/2.0/; revision=2096 --- diff --git a/pym/portage.py b/pym/portage.py index 52d69279d..00ef40007 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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):