From 3c9fefe0967f835443e4310aacb21a784e5fc978 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Mar 2007 19:03:01 +0000 Subject: Fix misplaced [1] svn path=/main/trunk/; revision=6107 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index e0359e476..59ea9eb4e 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -320,7 +320,7 @@ class vardbapi(dbapi): return self.matchcache[mycat][mydep][:] def findname(self, mycpv): - return self.getpath(str(mycpv), filename=catsplit(mycpv[1])+".ebuild") + return self.getpath(str(mycpv), filename=catsplit(mycpv)[1]+".ebuild") def flush_cache(self): """If the current user has permission and the internal aux_get cache has -- cgit v1.2.3-1-g7c22