portdbapi: source ebuilds when eclass dir missing
authorZac Medico <zmedico@gentoo.org>
Mon, 7 Mar 2011 17:34:02 +0000 (09:34 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 7 Mar 2011 17:34:02 +0000 (09:34 -0800)
This will fix bug #357581.

pym/portage/dbapi/porttree.py

index 2e5f8cec8f53ba3ba3d79db3c1470431bf3a45b2..bcf64dc412aabea278c80de690925abc38c477d2 100644 (file)
@@ -464,8 +464,6 @@ class portdbapi(dbapi):
                if doregen:
                        if myebuild in self._broken_ebuilds:
                                raise KeyError(mycpv)
-                       if not self._have_root_eclass_dir:
-                               raise KeyError(mycpv)
 
                        self.doebuild_settings.setcpv(mycpv)
                        eapi = None