mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 21:54:54 +03:00
Formatting
This commit is contained in:
parent
0a0b9714c0
commit
0f1d97d87d
|
@ -975,7 +975,7 @@ def run_command(
|
||||||
# As above, this will usually but not always be correct on Windows, but
|
# As above, this will usually but not always be correct on Windows, but
|
||||||
# is only used for debugging purposes.
|
# is only used for debugging purposes.
|
||||||
if hasattr(shlex, "join"):
|
if hasattr(shlex, "join"):
|
||||||
cmd_str = shlex.join(command) # type: ignore
|
cmd_str = shlex.join(command) # type: ignore
|
||||||
else:
|
else:
|
||||||
# shlex.join is more correct, but is only available in 3.8+
|
# shlex.join is more correct, but is only available in 3.8+
|
||||||
cmd_str = " ".join(command)
|
cmd_str = " ".join(command)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user