mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
remove the only explicite io_loop argument
This requires Tornado>=4.1.
This commit is contained in:
parent
b047840c04
commit
088b73ebde
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ def _run_command():
|
||||||
cmd_q.running = False
|
cmd_q.running = False
|
||||||
return
|
return
|
||||||
|
|
||||||
p = tornado.process.Subprocess(cmd, shell=True, io_loop=IOLoop.instance(),
|
p = tornado.process.Subprocess(cmd, shell=True,
|
||||||
stdout=tornado.process.Subprocess.STREAM)
|
stdout=tornado.process.Subprocess.STREAM)
|
||||||
p.set_exit_callback(partial(_command_done, name, callback, p))
|
p.set_exit_callback(partial(_command_done, name, callback, p))
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -8,7 +8,7 @@ setup(
|
||||||
name = 'nvchecker',
|
name = 'nvchecker',
|
||||||
version = nvchecker.__version__,
|
version = nvchecker.__version__,
|
||||||
packages = find_packages(),
|
packages = find_packages(),
|
||||||
install_requires = ['tornado', 'setuptools'],
|
install_requires = ['tornado>=4.1', 'setuptools'],
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'pytest',
|
'pytest',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue