From b4af05fe7562ee2aeb50837940c254ef375a61bf Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 23 Mar 2008 23:19:09 +0000 Subject: [PATCH] It helps when you reference a correct object, this fix is eligable for merging to trunk svn path=/main/branches/prefix/; revision=9498 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index e67f56197..a91a76b86 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1221,7 +1221,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" -- 2.26.2