summaryrefslogtreecommitdiff
path: root/patternutils/commands/targs.py
diff options
context:
space:
mode:
Diffstat (limited to 'patternutils/commands/targs.py')
-rw-r--r--patternutils/commands/targs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py
index 18528bb..ff5c0b1 100644
--- a/patternutils/commands/targs.py
+++ b/patternutils/commands/targs.py
@@ -70,7 +70,7 @@ def targs(
raise SystemExit
if use_predefined_template:
- template_engine, comand = config.load_template(command, 'targs')
+ command, template_engine = config.load_template(command, 'targs')
try:
render = template.get_render_function(command, engine=template_engine)
@@ -85,7 +85,7 @@ def targs(
patched_subprocess = functools.partial(
subprocess.run,
shell=shell,
- stout=stdout,
+ stdout=stdout,
stderr=stderr,
)
patched_run_command = functools.partial(