Skip to content

Commit

Permalink
clean dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
thefab committed May 28, 2015
1 parent 20e22cd commit 73d516a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions examples/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ def multiple_ping_redis():
yield [ping_redis(i) for i in range(0, 100)]


def stop_loop(future):
excep = future.exception()
if excep is not None:
raise(excep)
loop = tornado.ioloop.IOLoop.instance()
loop.stop()


pool = tornadis.ClientPool(max_size=5)
loop = tornado.ioloop.IOLoop.instance()
loop.run_sync(multiple_ping_redis)
Expand Down

0 comments on commit 73d516a

Please sign in to comment.