Add note about 'use' in the Atom.intersects() docstring. v2.2_rc31
authorZac Medico <zmedico@gentoo.org>
Sun, 19 Apr 2009 21:40:33 +0000 (21:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 19 Apr 2009 21:40:33 +0000 (21:40 -0000)
svn path=/main/trunk/; revision=13375

pym/portage/dep.py

index 80ebdadbcdae463140b882e11d8296672dabd506..679a8558df62005e3edeeda29354dcf0cb3ad2d4 100644 (file)
@@ -560,8 +560,9 @@ class Atom(object):
 
        def intersects(self, other):
                """
-               Atoms with different operator or cpv attributes cause this method to
-               return False. TODO: Detect intersection when operators are present.
+               Atoms with different cpv, operator or use attributes cause this method
+               to return False even though there may actually be some intersection.
+               TODO: Detect more forms of intersection.
                @param other: The package atom to match
                @type other: Atom
                @rtype: Boolean