aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-05-24 10:07:12 -0700
committerJakub Kicinski <[email protected]>2023-05-25 21:02:43 -0700
commit081e8df6819997eae236f75dd52f0c147c4be939 (patch)
tree7c3a6a8e20904c1c955b385a1b2ddbeb8ccbf1d7 /tools/perf/scripts/python/check-perf-trace.py
parent31642e7089df8fd3f54ca7843f7ee2952978cad1 (diff)
tools: ynl: avoid dict errors on older Python versions
Python 3.9.0 or newer supports combining dicts() with |, but older versions of Python are still used in the wild (e.g. on CentOS 8, which goes EoL May 31, 2024). With Python 3.6.8 we get: TypeError: unsupported operand type(s) for |: 'dict' and 'dict' Use older syntax. Tested with non-legacy families only. Fixes: f036d936ca57 ("tools: ynl: Add fixed-header support to ynl") Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Donald Hunter <[email protected]> Tested-by: Donald Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions