From dc43c514fa44d1cbfa978b635e44164f467be69f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Oct 2006 10:54:53 +0000 Subject: [PATCH] Trigger binarytree population on bindbapi.cpv_all() calls. svn path=/main/trunk/; revision=4712 --- pym/portage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/portage.py b/pym/portage.py index 178dacf62..86b0a41f7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4169,6 +4169,11 @@ class bindbapi(fakedbapi): self.bintree.populate() return fakedbapi.cp_list(self, *pargs, **kwargs) + def cpv_all(self): + if not self.bintree.populated: + self.bintree.populate() + return fakedbapi.cpv_all(self) + cptot=0 class vardbapi(dbapi): def __init__(self, root, categories=None, settings=None, vartree=None): -- 2.26.2