1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-24 17:16:13 +01:00

Avoid clogging the arparse files, flush regularly

This commit is contained in:
Miro Hrončok 2020-09-29 19:38:52 +02:00
parent 6dd32b21ce
commit 4212694dc6

View File

@ -208,6 +208,7 @@ def tox_runtest(venv, redirect):
sep="\n", sep="\n",
file=config.option.print_deps_to, file=config.option.print_deps_to,
) )
config.option.print_deps_to.flush()
ret = True ret = True
if config.option.print_extras_to: if config.option.print_extras_to:
@ -216,6 +217,7 @@ def tox_runtest(venv, redirect):
sep="\n", sep="\n",
file=config.option.print_extras_to, file=config.option.print_extras_to,
) )
config.option.print_extras_to.flush()
ret = True ret = True
return ret return ret