From: Fabian Groffen Date: Sun, 23 Mar 2008 23:19:09 +0000 (-0000) Subject: It helps when you reference a correct object, this fix is eligable for merging to... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b4af05fe7562ee2aeb50837940c254ef375a61bf;p=portage.git It helps when you reference a correct object, this fix is eligable for merging to trunk svn path=/main/branches/prefix/; revision=9498 --- 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"