Fix bad keyword argument stream. Use file

This commit is contained in:
twangboy 2021-07-16 14:32:07 -06:00 committed by Megan Wilhite
parent d71eb246c9
commit f101372d7b

2
run.py
View file

@ -47,7 +47,7 @@ def redirect(argv):
msg = "Must pass in a salt command, available commands are:"
for cmd in AVAIL:
msg += f"\n{cmd}"
print(msg, stream=sys.stderr, flush=True)
print(msg, file=sys.stderr, flush=True)
sys.exit(1)
cmd = sys.argv[1]
if cmd == "shell":