Exemplo n.º 1
0
 def metalineReceived(self, metaline, display_line):
     realm = TriggerMatchingRealm(metaline, parent = self, root = self,
                                  display_line = display_line)
     try:
         realm.process()
     except:
         self.handle_exception(traceback.format_exc())
Exemplo n.º 2
0
 def metalineReceived(self, metaline):
     """Match a line against the triggers and perhaps display it on screen.
     """
     realm = TriggerMatchingRealm(metaline, parent = self,  root = self,
                                  send_line_to_mud = self.telnet.sendLine)
     realm.process()