summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Dependency.py
blob: 6d6b23be54915be0fc85f9cdb422ad0321accce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from _emerge.DepPriority import DepPriority
from _emerge.SlotObject import SlotObject
class Dependency(SlotObject):
	__slots__ = ("atom", "blocker", "depth",
		"parent", "onlydeps", "priority", "root")
	def __init__(self, **kwargs):
		SlotObject.__init__(self, **kwargs)
		if self.priority is None:
			self.priority = DepPriority()
		if self.depth is None:
			self.depth = 0