json/tools
bitFiedler 7abcb5e9a7
fixes issue 4691 (#4693)
* bugfix removeprefix not available in python version < 3.9

there was a problem in my cLion gdb that comes with python version 3.8.
the pretty printer script do not work because the removeprefix function is added in version 3.9.
therefore we need a fix for that.

Signed-off-by: Matthias Popp <mpopp@arri.at>

* fix indentation, use the same indentation size at in class JsonValuePrinter

the indentation size was a mix up, we should use always the same indentation size of 4

Signed-off-by: Matthias Popp <mpopp@arri.at>

* use prefix as variable

easier handling or easier to change

Signed-off-by: Matthias Popp <mpopp@arri.at>

* add variables for easier access

Signed-off-by: Matthias Popp <mpopp@arri.at>

---------

Signed-off-by: Matthias Popp <mpopp@arri.at>
Co-authored-by: Matthias Popp <mpopp@arri.at>
2025-03-18 14:01:25 +01:00
..
amalgamate Clean up and document project files (#4560) 2025-01-17 06:53:35 +01:00
astyle Overwork astyle call (#4573) 2024-12-29 17:06:03 +01:00
gdb_pretty_printer fixes issue 4691 (#4693) 2025-03-18 14:01:25 +01:00
generate_natvis ⬆️ Bump jinja2 from 3.1.5 to 3.1.6 in /tools/generate_natvis (#4680) 2025-03-18 14:00:22 +01:00
macro_builder Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
serve_header ⬆️ Bump watchdog from 2.1.7 to 6.0.0 in /tools/serve_header (#4542) 2024-12-15 22:39:16 +00:00