Re: [COMMITED] contrib/mklog.py: Fix writing to a global variable

2025-06-30 Thread Alex Coplan
On 29/06/2025 10:29, Filip Kastl wrote: > The last patch of mklog.py put top-level code into function 'main()'. > Because of this, writing to global variable 'root' has to be preceded by > explicitly declaring 'root' as global. Otherwise the write only has a > local effect. > > Without this chang

[COMMITED] contrib/mklog.py: Fix writing to a global variable

2025-06-29 Thread Filip Kastl
The last patch of mklog.py put top-level code into function 'main()'. Because of this, writing to global variable 'root' has to be preceded by explicitly declaring 'root' as global. Otherwise the write only has a local effect. Without this change, the '-d' cmdline flag would be broken. Commited