Christopher Haster
c60301719a
scripts: Adopted dat tweak in other scripts
...
This just makes dat behave similarly to Python's getattr, etc:
- dat("bogus") -> raises ValueError
- dat("bogus", 1234) -> returns 1234
This replaces try_dat, which is easy to forget about when copy-pasting
between scripts.
Though all of this wouldn't be necessary if only we could catch
exceptions in expressions...
2025-03-12 21:12:12 -05:00
..
2025-03-12 19:10:17 -05:00
2025-01-28 14:41:45 -06:00
2025-03-12 20:02:19 -05:00
2025-03-12 21:08:23 -05:00
2025-03-12 20:02:19 -05:00
2025-01-28 14:41:30 -06:00
2025-03-12 21:12:12 -05:00
2025-03-12 20:02:19 -05:00
2025-03-12 20:02:19 -05:00
2025-01-28 14:41:30 -06:00
2025-02-08 14:53:30 -06:00
2025-02-08 14:53:47 -06:00
2025-01-28 14:41:30 -06:00
2025-01-28 14:41:45 -06:00
2025-02-08 14:53:47 -06:00
2025-02-08 15:02:31 -06:00
2025-02-08 14:53:47 -06:00
2025-02-08 14:53:47 -06:00
2025-02-08 14:53:47 -06:00
2025-01-28 14:41:30 -06:00
2025-03-12 20:02:19 -05:00
2025-03-12 20:02:19 -05:00
2025-03-12 21:12:12 -05:00
2025-03-12 21:12:12 -05:00
2025-01-28 14:41:30 -06:00
2025-01-28 14:41:30 -06:00
2024-11-06 15:31:17 -06:00
2024-11-06 15:31:17 -06:00
2025-03-12 20:02:19 -05:00
2025-03-12 20:02:19 -05:00
2025-02-13 15:51:36 -06:00
2025-01-28 14:41:30 -06:00
2025-03-12 19:10:17 -05:00
2025-02-13 15:51:36 -06:00
2025-03-12 21:12:12 -05:00
2025-03-12 21:12:12 -05:00
2025-02-13 15:51:36 -06:00