[output] make it easier to disable output to stdout
allow 'output.mode' to be set to any falsy value instead of requiring it to be the string "null"
This commit is contained in:
@@ -331,6 +331,8 @@ def select():
|
||||
output = PipeOutput()
|
||||
elif isinstance(mode, dict):
|
||||
output = CustomOutput(mode)
|
||||
elif not mode:
|
||||
output = NullOutput()
|
||||
else:
|
||||
output = {
|
||||
"default" : PipeOutput,
|
||||
|
||||
Reference in New Issue
Block a user