From c03d5ddc415f4f1d72d0aad11600bbeef61ed558 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 16 Jan 2021 18:42:02 +0000 Subject: [PATCH] options: convert embedded python to fstrings Signed-off-by: Ian Leonard --- config/options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/options b/config/options index cd5785e910..0dbc5cd29a 100644 --- a/config/options +++ b/config/options @@ -76,7 +76,7 @@ VERBOSE="${VERBOSE:-yes}" # Try values between 1 and number of processor cores present. # default: use all cores [ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc) -[ -z "${CONCURRENCY_LOAD}" ] && export CONCURRENCY_LOAD=$(python3 -c "import os; print('%.2f' % (os.cpu_count() * 1.5))") +[ -z "${CONCURRENCY_LOAD}" ] && export CONCURRENCY_LOAD=$(python3 -c "import os; print(f'{os.cpu_count() * 1.5:.2f}')") # cache size for ccache # Set the maximum size of the files stored in the cache. You can specify a