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, 14 Mar 2011 16:22:08 +0000 (09:22 -0700)
This will fix bug #357581.

pym/portage/dbapi/porttree.py

index a407b9d35297dcbf962de33d1adec89f1f7dcc50..e1340d18ba16cc289e4056c6a6cd6c2d9aaea738 100644 (file)
@@ -554,8 +554,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