From 7510cfda7352cdf80ba1d6536c6000e7bc698d33 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 27 May 2021 19:49:01 +0200 Subject: correctly handle integer values for .parallel Fixes: 29859ef384a5 ("support a new field "parallel"") --- mdbp/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdbp') diff --git a/mdbp/common.py b/mdbp/common.py index df434cb..8b7f8c1 100644 --- a/mdbp/common.py +++ b/mdbp/common.py @@ -75,7 +75,7 @@ def compute_env(build: JsonObject) -> typing.Dict[str, str]: parallel = "%d" % multiprocessing.cpu_count() options = build.get("options", []) if parallel: - options.append("parallel=" + parallel) + options.append("parallel=" + str(parallel)) if options: env["DEB_BUILD_OPTIONS"] = " ".join(options) return env -- cgit v1.2.3