Fix some typos.
[portage.git] / pym / _emerge / Dependency.py
index 6d6b23be54915be0fc85f9cdb422ad0321accce2..2ec860f83638f50fc952ad3489244043a76d5cac 100644 (file)
@@ -1,12 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+from portage.util.SlotObject import SlotObject
 from _emerge.DepPriority import DepPriority
-from _emerge.SlotObject import SlotObject
+
 class Dependency(SlotObject):
-       __slots__ = ("atom", "blocker", "depth",
-               "parent", "onlydeps", "priority", "root")
+       __slots__ = ("atom", "blocker", "child", "depth",
+               "parent", "onlydeps", "priority", "root", "want_update",
+               "collapsed_parent", "collapsed_priority")
        def __init__(self, **kwargs):
                SlotObject.__init__(self, **kwargs)
                if self.priority is None:
                        self.priority = DepPriority()
                if self.depth is None:
                        self.depth = 0
+               if self.collapsed_parent is None:
+                       self.collapsed_parent = self.parent
+               if self.collapsed_priority is None:
+                       self.collapsed_priority = self.priority