Fix a type: eclasses -> eclass.
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 08:17:42 +0000 (08:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 08:17:42 +0000 (08:17 -0000)
svn path=/main/trunk/; revision=8978

pym/portage/dbapi/porttree.py

index be201562801321e926e5a3d17c9b80a10d85c8bc..c8e8be56c0304a495004496c0545f3bf2059f815 100644 (file)
@@ -73,7 +73,7 @@ class portdbapi(dbapi):
                # missing. This check allows aux_get() to detect a missing
                # portage tree and return early by raising a KeyError.
                self._have_root_eclass_dir = os.path.isdir(
-                       os.path.join(self.porttree_root, "eclasses"))
+                       os.path.join(self.porttree_root, "eclass"))
 
                self.metadbmodule = self.mysettings.load_best_module("portdbapi.metadbmodule")