remove the only explicite io_loop argument

This requires Tornado>=4.1.
This commit is contained in:
lilydjwg 2015-11-04 20:57:21 +08:00
parent b047840c04
commit 088b73ebde
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ def _run_command():
cmd_q.running = False
return
p = tornado.process.Subprocess(cmd, shell=True, io_loop=IOLoop.instance(),
p = tornado.process.Subprocess(cmd, shell=True,
stdout=tornado.process.Subprocess.STREAM)
p.set_exit_callback(partial(_command_done, name, callback, p))

View file

@ -8,7 +8,7 @@ setup(
name = 'nvchecker',
version = nvchecker.__version__,
packages = find_packages(),
install_requires = ['tornado', 'setuptools'],
install_requires = ['tornado>=4.1', 'setuptools'],
tests_require=[
'pytest',
],