def uninstall(self): if self.installed: req = qdisc.delrequest(self.bufdevno, self.handle) self.rth.talk(req.pack()) self.installed = False self.bufdev.uninstall() self.pool.put(self.bufdev)
def uninstall(self): if self.installed: try: req = qdisc.delrequest(self.bufdevno, self.handle) self.rth.talk(req.pack()) except IOError, e: pass self.installed = False try: self.bufdev.uninstall() except util.PipeException, e: pass