Exemplo n.º 1
0
 def _check_status(self):
     if status.check(self):
         raise BaseException("Component already installed: %s " %
                             self.__class__.__name__)
Exemplo n.º 2
0
 def _check_status(self):
     if status.check(self):
         raise BaseException("Component already installed: %s " %
                             self.__class__.__name__)
Exemplo n.º 3
0
 def _check_conflicts(self):
     for c in self.conflicts:
         if status.check(c(self.ctx)):
             raise BaseException("Conflicting Component: %s " %
                                 c.__name__)
Exemplo n.º 4
0
 def _check_conflicts(self):
     for c in self.conflicts:
         if status.check(c(self.ctx)):
             raise BaseException("Conflicting Component: %s " % c.__name__)