Exemplo n.º 1
0
 def __del__(self):
    try:
       tine.detach(self.linkid)
       logging.getLogger("HWR").debug('Detached %s %s'%(self.tineName,self.attributeName))
       self.linkid = -1
    except IOError as strerror:
        logging.getLogger("HWR").error("%s detaching %s %s"%(strerror,self.tineName,self.attributeName))
    except:
        logging.getLogger("HWR").error("Exception on detaching %s %s"%(self.tineName,self.attributeName))
Exemplo n.º 2
0
 def __del__(self):
     try:
         tine.detach(self.linkid)
         logging.getLogger("HWR").debug('TINE channel %s %s detached' %
                                        (self.tineName, self.attributeName))
         self.linkid = -1
     except IOError as strerror:
         logging.getLogger("HWR").error(
             "%s detaching %s %s" %
             (strerror, self.tineName, self.attributeName))
     except:
         logging.getLogger("HWR").error("Exception on detaching %s %s" %
                                        (self.tineName, self.attributeName))
Exemplo n.º 3
0
 def __del__(self):
    try:
       tine.detach(self.linkid)
       self.linkid = -1
    except IOError as strerror:
        logging.getLogger("HWR").error("%s" %strerror)