fix logic from last commit
authorZac Medico <zmedico@gentoo.org>
Sun, 4 Dec 2011 23:55:49 +0000 (15:55 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 Dec 2011 23:55:49 +0000 (15:55 -0800)
pym/_emerge/depgraph.py

index 57619e0980d9d93cec153d93c59952afbe365d7d..e7307c00c2333040e89c5f0778c55785a0bba4f3 100644 (file)
@@ -3300,7 +3300,8 @@ class depgraph(object):
                                                        # differs only by upper/lower case.
                                                        identical = True
                                                        for cp_orig in orig_cp_map[other_cp]:
-                                                               if cp_orig != cp:
+                                                               if portage.catsplit(cp_orig)[1] != \
+                                                                       portage.catsplit(atom.cp)[1]:
                                                                        identical = False
                                                                        break
                                                        if identical: