diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-05-27 19:49:01 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-05-27 19:49:01 +0200 |
commit | 7510cfda7352cdf80ba1d6536c6000e7bc698d33 (patch) | |
tree | c15d7c18154f28822d03cdf37074b6ec84046c2c /mdbp | |
parent | 79f0ec86ea38bf04e86687e603f246ea92a693b3 (diff) | |
download | mdbp-7510cfda7352cdf80ba1d6536c6000e7bc698d33.tar.gz |
correctly handle integer values for .parallel
Fixes: 29859ef384a5 ("support a new field "parallel"")
Diffstat (limited to 'mdbp')
-rw-r--r-- | mdbp/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |