It helps when you reference a correct object, this fix is eligable for merging to...
authorFabian Groffen <grobian@gentoo.org>
Sun, 23 Mar 2008 23:19:09 +0000 (23:19 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 23 Mar 2008 23:19:09 +0000 (23:19 -0000)
svn path=/main/branches/prefix/; revision=9498

pym/portage/dbapi/vartree.py

index e67f56197d38daeb69b98cd02025a7391f7c0216..a91a76b86450e690a86534e1ee554bda4f9fd286 100644 (file)
@@ -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"