From: Zac Medico Date: Thu, 1 Mar 2007 19:03:01 +0000 (-0000) Subject: Fix misplaced [1] X-Git-Tag: v2.2_pre1~1637 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c9fefe0967f835443e4310aacb21a784e5fc978;p=portage.git Fix misplaced [1] svn path=/main/trunk/; revision=6107 --- 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