Waldecir Santos пре 12 година
родитељ
комит
416d13c854
1 измењених фајлова са 0 додато и 9 уклоњено
  1. 0 9
      tornado/server.py

+ 0 - 9
tornado/server.py

@@ -45,15 +45,6 @@ class QueryTestHandler(tornado.web.RequestHandler):
 
         self.write(worlds if queries > 0 else world)
 
-
-class SingleQueryTestHandler(tornado.web.RequestHandler):
-    @tornado.web.asynchronous
-    @gen.coroutine
-    def get(self):
-        worlds = []
-        random_id = random.randint(1, 10000)
-        self.write(world[0][0])
-
 application = tornado.web.Application([
     (r"/json", JsonSerializeTestHandler),
     (r"/db", QueryTestHandler),