1 |
Author: zmedico |
2 |
Date: 2008-05-27 04:10:11 +0000 (Tue, 27 May 2008) |
3 |
New Revision: 10441 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dep.py |
7 |
Log: |
8 |
Define __slots__ for the _use_dep class. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dep.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dep.py 2008-05-27 04:04:28 UTC (rev 10440) |
14 |
+++ main/trunk/pym/portage/dep.py 2008-05-27 04:10:11 UTC (rev 10441) |
15 |
@@ -338,6 +338,10 @@ |
16 |
return retlist |
17 |
|
18 |
class _use_dep(object): |
19 |
+ |
20 |
+ __slots__ = ("__weakref__", "conditional", "conditional_disabled", |
21 |
+ "conditional_enabled", "disabled", "enabled", "tokens", "required") |
22 |
+ |
23 |
def __init__(self, use): |
24 |
enabled_flags = [] |
25 |
disabled_flags = [] |
26 |
|
27 |
-- |
28 |
gentoo-commits@l.g.o mailing list |