minor cleanup: prefer explicit dict syntax
This commit is contained in:
@@ -145,10 +145,10 @@ def run(cmd, cwd=None):
|
|||||||
if VERBOSE:
|
if VERBOSE:
|
||||||
print(">>> ", args_as_string(cmd))
|
print(">>> ", args_as_string(cmd))
|
||||||
import subprocess
|
import subprocess
|
||||||
kwargs = dict(
|
kwargs = {
|
||||||
stderr=subprocess.PIPE,
|
"stderr": subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
"stdout": subprocess.PIPE,
|
||||||
)
|
}
|
||||||
if cwd is not None:
|
if cwd is not None:
|
||||||
kwargs["cwd"] = cwd
|
kwargs["cwd"] = cwd
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user