mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d1f043e956
commit
71ab4d2aeb
1 changed files with 3 additions and 1 deletions
|
@ -896,7 +896,9 @@ def run_subproc(cmds, captured=False, envs=None):
|
|||
print(f"Trace run_subproc({repr(r)}):", file=sys.stderr)
|
||||
for i, s in enumerate(specs):
|
||||
pcls = s.cls.__module__ + "." + s.cls.__name__
|
||||
pcmd = [s.args[0].__name__] + s.args[1:] if callable(s.args[0]) else s.args
|
||||
pcmd = (
|
||||
[s.args[0].__name__] + s.args[1:] if callable(s.args[0]) else s.args
|
||||
)
|
||||
p = {
|
||||
"cmd": pcmd,
|
||||
"cls": pcls,
|
||||
|
|
Loading…
Add table
Reference in a new issue