Merged hotfix from trunk 6106:6107
authorFabian Groffen <grobian@gentoo.org>
Thu, 1 Mar 2007 19:07:23 +0000 (19:07 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 1 Mar 2007 19:07:23 +0000 (19:07 -0000)
Fix misplaced [1]

svn path=/main/branches/prefix/; revision=6108

pym/portage/dbapi/vartree.py

index d91fee247c998ae18d3a06a94bf4d9b56a5f313d..e1c9462762b9e9af2660dc911decb767af10b543 100644 (file)
@@ -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