Fix typo.
authorZac Medico <zmedico@gentoo.org>
Thu, 31 May 2007 21:56:18 +0000 (21:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 31 May 2007 21:56:18 +0000 (21:56 -0000)
svn path=/main/trunk/; revision=6704

pym/portage/dbapi/bintree.py

index 98bc8ddefa1ca6169a68fcd34ab440bb33302022..1b9367da189502333cbbc6fffe451ac52419da48 100644 (file)
@@ -46,7 +46,7 @@ class bindbapi(fakedbapi):
                if not self.bintree._remotepkgs or \
                        not self.bintree.isremote(mycpv):
                        tbz2_path = self.bintree.getname(mycpv)
-                       if not os.path.exists(mycpv):
+                       if not os.path.exists(tbz2_path):
                                raise KeyError(mycpv)
                        getitem = portage.xpak.tbz2(tbz2_path).getfile
                else: