summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-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 c71567f82..1b66cc9b8 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -333,7 +333,7 @@ class binarytree(object):
try:
os.unlink(dest_path)
except OSError:
- if os.path.exist(dest_path):
+ if os.path.exists(dest_path):
raise
if st is not None: