Exemplo n.º 1
0
 def load_dest(self) :
     if self.dest_obj is None :
         self.dest_obj = self.finder(self.dest_key)
         if self.dest_obj is None :
             raise rigger_exception("%s[%s] not found " %(self.dest_type,self.dest_key))
Exemplo n.º 2
0
 def __getattr__(self,key):
     cls_name = self.__class__.__name__
     raise rg_err.rigger_exception("'%s' 没有 '%s' 属性" %(cls_name,key))