summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2021-05-06 19:18:46 +0200
committerDennis Fink2021-05-06 19:18:46 +0200
commit65e6e2b50a5a01efae42df1fdfb0f210210ce110 (patch)
treef6b93c558cd453db9456d9b43d28d2ed7012d0c4
parent05f35fd6d7c0f11af022027c496c17e7a27e76d7 (diff)
downloadpatternutils-65e6e2b50a5a01efae42df1fdfb0f210210ce110.tar.gz
patternutils-65e6e2b50a5a01efae42df1fdfb0f210210ce110.zip
Fix targs
Diffstat (limited to '')
-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 c99a6aa..3da6552 100644
--- a/patternutils/commands/targs.py
+++ b/patternutils/commands/targs.py
@@ -105,7 +105,7 @@ def targs(
if editor:
try:
- commands = utils.edit(commands)
+ commands = list(utils.edit(commands).values())
except RuntimeError:
click.secho("Your edit is not parseable!", fg="red", err=True)
raise SystemExit
@@ -131,7 +131,7 @@ def targs(
patched_run_command(r)
else:
with multiprocessing.Pool(max_procs) as p:
- p.map(patched_run_command, commands.values())
+ p.map(patched_run_command, commands)
if __name__ == "__main__":