Files
pysim/pySim
Vadim Yanitskiy 45220e00d5 filesystem: JsonEditor: offer interactive retry on error
When json.loads() fails (e.g. the user made a syntax mistake), prompt
the user with "Re-open file for editing? [y]es/[n]o:" and loop back to
the editor if they answer 'y' or 'yes'.  If the user declines, return
the original unmodified value so no write is attempted; the temp file
is still cleaned up by __exit__() in that case.

Change-Id: I9161b7becea0d8dfd3f5f740fbb253da2f061a1d
Related: OS#6899
2026-04-07 22:47:22 +07:00
..
2025-09-24 17:59:17 +00:00
2025-09-24 17:59:17 +00:00
2024-06-10 08:59:39 +02:00
2025-09-24 17:59:17 +00:00
2026-03-20 14:32:59 -07:00
2025-09-24 17:59:17 +00:00
2024-09-03 21:57:47 +02:00