(*_: object)
| 437 | backup_platformio_ini() |
| 438 | |
| 439 | def _restore_and_exit(*_: object) -> None: |
| 440 | restore_platformio_ini(keep_backup=args.keep_platformio_ini_backup) |
| 441 | sys.exit(130) |
| 442 | |
| 443 | signal.signal(signal.SIGINT, _restore_and_exit) |
| 444 | if hasattr(signal, "SIGTERM"): |
nothing calls this directly
no test coverage detected