def _check_status(self): if status.check(self): raise BaseException("Component already installed: %s " % self.__class__.__name__)
def _check_conflicts(self): for c in self.conflicts: if status.check(c(self.ctx)): raise BaseException("Conflicting Component: %s " % c.__name__)