Commit 69a6cdd1 authored by Romain Bignon's avatar Romain Bignon

ReplApplication._do_and_retry: send request_information to modules in all...

ReplApplication._do_and_retry: send request_information to modules in all case, except if stdout is not a tty
parent 2fa8ef55
Pipeline #2967 passed with stages
in 13 minutes and 25 seconds
......@@ -401,7 +401,7 @@ class ReplApplication(ConsoleApplication, MyCmd):
- DecoupledValidation
"""
if self.interactive:
if self.stdout.isatty():
# Set a non-None value to all backends's request_information
#
# - None indicates non-interactive: do not trigger 2FA challenges,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment