blob: 4f61c887d341477a2d3c876cd92c5065fb19df3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from _emerge.Task import Task
class Blocker(Task):
__hash__ = Task.__hash__
__slots__ = ("root", "atom", "cp", "eapi", "priority", "satisfied")
def __init__(self, **kwargs):
Task.__init__(self, **kwargs)
self.cp = self.atom.cp
self._hash_key = ("blocks", self.root, self.atom, self.eapi)
|