mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Fix typo
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
2920f01161
commit
f871c09e7b
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ def salt_onedir(
|
|||
ctx.info(f"Writing '{pth_path}' ...")
|
||||
pth_path.write_text(
|
||||
'import sys, pathlib; extras = str(pathlib.Path(__file__).parent.parent.parent / "extras-{}.{}".format(*sys.version_info)) '
|
||||
'if sys.platform != "win32" else str(pathlib.Path(__file__).parent.parent / "extras-{}.{}".format(*sys.version_info))} ; '
|
||||
'if sys.platform != "win32" else str(pathlib.Path(__file__).parent.parent / "extras-{}.{}".format(*sys.version_info)); '
|
||||
"extras not in sys.path and sys.path.insert(0, extras)\n"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue