From: Zac Medico Date: Thu, 31 May 2007 21:56:18 +0000 (-0000) Subject: Fix typo. X-Git-Tag: v2.2_pre1~1317 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3113662ced5db1d0a1538107742c2c4f4778fe62;p=portage.git Fix typo. svn path=/main/trunk/; revision=6704 --- diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 98bc8ddef..1b9367da1 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -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: