Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13375 - main/trunk/pym/portage
Date: Sun, 19 Apr 2009 21:40:36
Message-Id: E1Lvekc-0002oQ-BU@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-19 21:40:33 +0000 (Sun, 19 Apr 2009)
3 New Revision: 13375
4
5 Modified:
6 main/trunk/pym/portage/dep.py
7 Log:
8 Add note about 'use' in the Atom.intersects() docstring.
9
10
11 Modified: main/trunk/pym/portage/dep.py
12 ===================================================================
13 --- main/trunk/pym/portage/dep.py 2009-04-19 21:23:21 UTC (rev 13374)
14 +++ main/trunk/pym/portage/dep.py 2009-04-19 21:40:33 UTC (rev 13375)
15 @@ -560,8 +560,9 @@
16
17 def intersects(self, other):
18 """
19 - Atoms with different operator or cpv attributes cause this method to
20 - return False. TODO: Detect intersection when operators are present.
21 + Atoms with different cpv, operator or use attributes cause this method
22 + to return False even though there may actually be some intersection.
23 + TODO: Detect more forms of intersection.
24 @param other: The package atom to match
25 @type other: Atom
26 @rtype: Boolean