Fix byte vs. string confusion in mailer.py DiffGenerator class.
Fixes "AttributeError: 'str' object has no attribute 'decode'"
which could be triggered by the mailer.py test suite.
* tools/hook-scripts/mailer/mailer.py
(DiffGenerator): Consumers of this class expect the base_path to
be a byte string. Store the byte string instead of a local copy
which has already been converted to a string object.
|