r1914518 | futatuki | 2023-12-11 03:59:44 +0000 (Mon, 11 Dec 2023)
Fix inconsistency in path argment on Config.which_group()
Previously, we call Config.which_group() with path as bytes in
Commit.__init__() and with path as str in Lock.__init__() and
in PropChange.__init__(), but Config.which_group handled path
argment as bytes. To fix it we only use str as path argment on
Config.wich_group().
* tools/hook-scripts/mailer/mailer.py
(Config.which_groups): Treat path as str.
(Commit.__init__): convert bytes path into str before calling above.
Found by: Ruediger Pluem (rpluem {_AT_} apache.org)
Review by: dsahlberg