Ejemplo n.º 1
0
 def prune(self, force=False):
     CompositeNode.prune(self, force)
     new_value = ENoSuchNode(self._pruned_url)
     self._value = new_value
     cov = ChangeOfValueEvent(self, self._old_value, new_value, time.time())
     self._old_value = new_value
     self.event_generate(cov)
     return
Ejemplo n.º 2
0
 def prune(self, force=False):
     CompositeNode.prune(self, force)
     new_value = ENoSuchNode(self._pruned_url)
     self._value = new_value
     cov = ChangeOfValueEvent(self, self._old_value, new_value,
                              time.time())
     self._old_value = new_value
     self.event_generate(cov)
     return
Ejemplo n.º 3
0
 def prune(self):  #tell line handler to really go away
     if self.line_handler:
         self.line_handler.prune()
     CompositeNode.prune(self)
Ejemplo n.º 4
0
 def prune(self): #tell line handler to really go away
     if self.line_handler:
         self.line_handler.prune()
     CompositeNode.prune(self)