示例#1
0
文件: base.py 项目: grnet/synnefo
 def _check_status(self):
     if status.check(self):
         raise BaseException("Component already installed: %s " %
                             self.__class__.__name__)
示例#2
0
 def _check_status(self):
     if status.check(self):
         raise BaseException("Component already installed: %s " %
                             self.__class__.__name__)
示例#3
0
文件: base.py 项目: grnet/synnefo
 def _check_conflicts(self):
     for c in self.conflicts:
         if status.check(c(self.ctx)):
             raise BaseException("Conflicting Component: %s " %
                                 c.__name__)
示例#4
0
 def _check_conflicts(self):
     for c in self.conflicts:
         if status.check(c(self.ctx)):
             raise BaseException("Conflicting Component: %s " % c.__name__)