projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b33fc
)
Define __slots__ for the _use_dep class.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 27 May 2008 04:10:11 +0000
(
04:10
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 27 May 2008 04:10:11 +0000
(
04:10
-0000)
svn path=/main/trunk/; revision=10441
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index 8c819138ff871b8fcfcfc086f12d5d75549679f0..a98979969574e685c2826b9f6a2a474619794c39 100644
(file)
--- a/
pym/portage/dep.py
+++ b/
pym/portage/dep.py
@@
-338,6
+338,10
@@
def dep_opconvert(deplist):
return retlist
class _use_dep(object):
+
+ __slots__ = ("__weakref__", "conditional", "conditional_disabled",
+ "conditional_enabled", "disabled", "enabled", "tokens", "required")
+
def __init__(self, use):
enabled_flags = []
disabled_flags = []