From: Zac Medico Date: Sun, 19 Apr 2009 21:40:33 +0000 (-0000) Subject: Add note about 'use' in the Atom.intersects() docstring. X-Git-Tag: v2.2_rc31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69164ee6810d146676bb51c26e9c9d8f89996035;p=portage.git Add note about 'use' in the Atom.intersects() docstring. svn path=/main/trunk/; revision=13375 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 80ebdadbc..679a8558d 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -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