Ejemplo n.º 1
0
 def delete(self, name):
     try:
         utils._remove_pv(name)
     except OperationFailed as e:
         wok_log.error("delete PV failed")
         raise InvalidParameter("GINPV00005E", {'err': e.message})
Ejemplo n.º 2
0
 def delete(self, name):
     try:
         utils._remove_pv(name)
     except OperationFailed:
         wok_log.error("delete PV failed")
         raise OperationFailed("GINPV00005E", {'name': name})