def onHandshake(self, header):
      g = re.search('Origin\s*:\s*(\S+)', header)
      if not g: return
      print (self.id, g.group(1)) % "\n[HANDSHAKE] %s origin : %s"
dataset/ETHPy150Open tuxlinuxien/TwistedWebsocket/TwistedWebsocket/server.py/WebSocketHandler.onHandshake/swapped operands of `%`