mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix bad keyword argument stream. Use file
This commit is contained in:
parent
d71eb246c9
commit
f101372d7b
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -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":
|
||||
|
|
Loading…
Add table
Reference in a new issue