We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f74c000 commit d619967Copy full SHA for d619967
src/virtualenv/__main__.py
@@ -65,7 +65,8 @@ def run_with_catch(args=None, env=None):
65
code = exception.code if isinstance(exception, SystemExit) else 1
66
sys.exit(code)
67
finally:
68
- LOGGER.shutdown() # force flush of log messages before the trace is printed
+ for handler in LOGGER.handlers: # force flush of log messages before the trace is printed
69
+ handler.flush()
70
71
72
if __name__ == "__main__": # pragma: no cov
0 commit comments