Skip to content

Commit

Permalink
Avoid nested quotes in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
j4b6ski committed Dec 8, 2024
1 parent 340b343 commit 333ff9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sinol_make/sio2jail/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def check_perf_counters_enabled():
"Check if the Intel PMU driver is loaded: `dmesg | grep -i 'perf'`\n"
"You can also check if the perf tool works correctly: `perf stat -e instructions:u -- sleep 0`\n"
"(if perf can't be found, it might be located in: `/usr/lib/linux-tools/*/perf`).\n")
util.exit_with_error(f"Failed performance counters test: `{" ".join(process.args)}`\n"
cmdline = " ".join(process.args)
util.exit_with_error(f"Failed performance counters test: `{cmdline}`\n"
+ hint +
"Alternatively, you can run sinol-make without instruction counting"
", by adding the `--time-tool time` flag.\n"
Expand Down

0 comments on commit 333ff9d

Please sign in to comment.