summaryrefslogtreecommitdiffstats
path: root/release/update_manpages.py
diff options
context:
space:
mode:
Diffstat (limited to 'release/update_manpages.py')
-rw-r--r--release/update_manpages.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/update_manpages.py b/release/update_manpages.py
index cd2acc01..cb687245 100644
--- a/release/update_manpages.py
+++ b/release/update_manpages.py
@@ -18,8 +18,8 @@ Most code lives in this module so it can be unittested.
18""" 18"""
19 19
20from pathlib import Path 20from pathlib import Path
21from functools import partial
22import argparse 21import argparse
22import functools
23import multiprocessing 23import multiprocessing
24import os 24import os
25import re 25import re
@@ -112,7 +112,9 @@ def main(argv):
112 112
113 # Run all cmd in parallel, and wait for them to finish. 113 # Run all cmd in parallel, and wait for them to finish.
114 with multiprocessing.Pool() as pool: 114 with multiprocessing.Pool() as pool:
115 pool.map(partial(worker, cwd=tempdir, check=True), cmdlist) 115 pool.map(
116 functools.partial(worker, cwd=tempdir, check=True), cmdlist
117 )
116 118
117 for tmp_path in MANDIR.glob("*.1.tmp"): 119 for tmp_path in MANDIR.glob("*.1.tmp"):
118 path = tmp_path.parent / tmp_path.stem 120 path = tmp_path.parent / tmp_path.stem