summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index ded583cd1..c79da9064 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1313,7 +1313,7 @@ class dblink(object):
unlink_list.append(f)
for obj in unlink_list:
try:
- if os.path.islink(f):
+ if os.path.islink(obj):
obj_type = "sym"
else:
obj_type = "obj"