summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-31 21:56:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-31 21:56:18 +0000
commit3113662ced5db1d0a1538107742c2c4f4778fe62 (patch)
tree15b3bf866343b5447e6530a6842077457ecba6be
parent004595259e55eeded727eea18497dc460259803b (diff)
downloadportage-3113662ced5db1d0a1538107742c2c4f4778fe62.tar.gz
portage-3113662ced5db1d0a1538107742c2c4f4778fe62.tar.bz2
portage-3113662ced5db1d0a1538107742c2c4f4778fe62.zip
Fix typo.
svn path=/main/trunk/; revision=6704
-rw-r--r--pym/portage/dbapi/bintree.py2
1 files changed, 1 insertions, 1 deletions
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: