From: Zac Medico Date: Thu, 30 Apr 2009 07:21:28 +0000 (-0000) Subject: Add note about 'use' in the Atom.intersects() docstring. (trunk r13375) X-Git-Tag: v2.1.6.12~45 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=db9f07521c907b79b08ac91c47fef0aa584f8df9;p=portage.git Add note about 'use' in the Atom.intersects() docstring. (trunk r13375) svn path=/main/branches/2.1.6/; revision=13528 --- 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