diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-05 12:05:45 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-05 12:05:45 +0000 |
commit | c68666f5adbcc363e87ca06c5bd6befe0ade8700 (patch) | |
tree | 7c9e22f351132b274161113b26a7644b30e06bd3 | |
parent | 08936baaec5ab3cf50445513d9f5c92f9b74fc07 (diff) | |
download | portage-c68666f5adbcc363e87ca06c5bd6befe0ade8700.tar.gz portage-c68666f5adbcc363e87ca06c5bd6befe0ade8700.tar.bz2 portage-c68666f5adbcc363e87ca06c5bd6befe0ade8700.zip |
Always return a list of the same length as the query in vardbapi.aux_get()
svn path=/main/branches/2.0/; revision=2096
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 0 insertions, 2 deletions
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): |