def handle_read(self, data):
        logging.info("handle_read")
        data = to_unicode(data)
        if data == data.upper():
            self.stream.write(b"error\talready capitalized\n")
        else:
            # data already has \n
            self.stream.write(utf8(data.upper() % "ok\t%s"))
        self.stream.close()
dataset/ETHPy150Open cloudaice/simple-data/misc/virtenv/lib/python2.7/site-packages/tornado/test/concurrent_test.py/CapServer.handle_read/swapped operands of `%`