fix: code style
This commit is contained in:
parent
5b33608fe3
commit
9228cd70f8
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ def execute_in_shell(cmd, verbose=False, low_priority=False, check_exit_code=Fal
|
|||
import tempfile
|
||||
from subprocess import Popen
|
||||
|
||||
if type(cmd) is list:
|
||||
if isinstance(cmd, list):
|
||||
# ensure it's properly escaped; only a single string argument executes via shell
|
||||
cmd = shlex.join(cmd)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue